summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit32bc1e1a3be044f6da33724dd98f95a2e56ede59 (patch)
tree9623b1eb3d9d072e094fe88403f31e1c4b95e805 /llvm/lib/AsmParser/LLParser.h
parent19032f320681630aa245d827046a0fbfb9ade604 (diff)
downloadbcm5719-llvm-32bc1e1a3be044f6da33724dd98f95a2e56ede59.tar.gz
bcm5719-llvm-32bc1e1a3be044f6da33724dd98f95a2e56ede59.zip
Use LLVMContext in the LLLexer.
llvm-svn: 74934
Diffstat (limited to 'llvm/lib/AsmParser/LLParser.h')
-rw-r--r--llvm/lib/AsmParser/LLParser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/AsmParser/LLParser.h b/llvm/lib/AsmParser/LLParser.h
index 6659620e6c9..1f053c29082 100644
--- a/llvm/lib/AsmParser/LLParser.h
+++ b/llvm/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; }
OpenPOWER on IntegriCloud