Use LLVMContext in the LLLexer.
[oota-llvm.git] / lib / AsmParser / LLParser.h
index 6659620e6c9393a99d9b3e01c9f727f30d9256fa..1f053c29082e04a572acd80008dfed3d80394066 100644 (file)
@@ -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; }