aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AsmParser/LLParser.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-02 23:08:13 +0000
committerChris Lattner <sabre@nondot.org>2009-07-02 23:08:13 +0000
commiteeb4a84ac8d91fb1d5a7c484a1c7047409faee30 (patch)
treea74754636cc687794c2d224169dec37702cc34be /lib/AsmParser/LLParser.h
parent92bcb426c3e4503c99324afd4ed0a73521711a56 (diff)
downloadexternal_llvm-eeb4a84ac8d91fb1d5a7c484a1c7047409faee30.tar.gz
external_llvm-eeb4a84ac8d91fb1d5a7c484a1c7047409faee30.tar.bz2
external_llvm-eeb4a84ac8d91fb1d5a7c484a1c7047409faee30.zip
switch the .ll parser to use SourceMgr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74735 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLParser.h')
-rw-r--r--lib/AsmParser/LLParser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/AsmParser/LLParser.h b/lib/AsmParser/LLParser.h
index fdb2147810..6659620e6c 100644
--- a/lib/AsmParser/LLParser.h
+++ b/lib/AsmParser/LLParser.h
@@ -73,8 +73,8 @@ namespace llvm {
std::map<unsigned, std::pair<GlobalValue*, LocTy> > ForwardRefValIDs;
std::vector<GlobalValue*> NumberedVals;
public:
- LLParser(MemoryBuffer *F, SMDiagnostic &Err, Module *m) :
- Context(m->getContext()), Lex(F, Err), M(m) {}
+ LLParser(MemoryBuffer *F, SourceMgr &SM, SMDiagnostic &Err, Module *m) :
+ Context(m->getContext()), Lex(F, SM, Err), M(m) {}
bool Run();
LLVMContext& getContext() { return Context; }