aboutsummaryrefslogtreecommitdiff
path: root/lib/AsmParser/LLParser.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-07 18:44:11 +0000
committerOwen Anderson <resistor@mac.com>2009-07-07 18:44:11 +0000
commitff6c91efcf62d1cb99343fdcb2de6271520a1981 (patch)
tree1bd4ff6073052316d21fec4e66fdc137fe948119 /lib/AsmParser/LLParser.h
parent151f369c539d77c50f1c4eeb79659666a620d679 (diff)
Use LLVMContext in the LLLexer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74934 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/LLParser.h')
-rw-r--r--lib/AsmParser/LLParser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AsmParser/LLParser.h b/lib/AsmParser/LLParser.h
index 6659620e6c..1f053c2908 100644
--- a/lib/AsmParser/LLParser.h
+++ b/lib/AsmParser/LLParser.h
@@ -74,7 +74,7 @@ namespace llvm {
std::vector<GlobalValue*> NumberedVals;
public:
LLParser(MemoryBuffer *F, SourceMgr &SM, SMDiagnostic &Err, Module *m) :
- Context(m->getContext()), Lex(F, SM, Err), M(m) {}
+ Context(m->getContext()), Lex(F, SM, Err, m->getContext()), M(m) {}
bool Run();
LLVMContext& getContext() { return Context; }