summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit200e0757c7411bd9ddf6ec17672f9f7bc27ffa4f (patch)
tree12fbb9dd1d8614d32db468a5693b4883eab3e614 /llvm/lib/AsmParser/LLParser.h
parenta76611a5359456f9a77d55b8e01889af7e7284a9 (diff)
downloadbcm5719-llvm-200e0757c7411bd9ddf6ec17672f9f7bc27ffa4f.tar.gz
bcm5719-llvm-200e0757c7411bd9ddf6ec17672f9f7bc27ffa4f.zip
switch the .ll parser to use SourceMgr.
llvm-svn: 74735
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.h')
-rw-r--r--llvm/lib/AsmParser/LLParser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/AsmParser/LLParser.h b/llvm/lib/AsmParser/LLParser.h
index fdb21478103..6659620e6c9 100644
--- a/llvm/lib/AsmParser/LLParser.h
+++ b/llvm/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; }
OpenPOWER on IntegriCloud