commit | b43eae745eb9a7c46fe76b0ed8053b782ca67536 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Thu Jul 02 17:04:01 2009 +0000 |
committer | Owen Anderson <resistor@mac.com> | Thu Jul 02 17:04:01 2009 +0000 |
tree | 6e650bb3bc6028c01b09812624d18652bea10ca2 | |
parent | 480752e9f6e96d8a31f1805add1cedda2e210c4c [diff] [blame] |
Use LLVMContext for generating UndefValue constants too! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74703 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/AsmParser/LLParser.h b/lib/AsmParser/LLParser.h index ae1d9c7..6691f60 100644 --- a/lib/AsmParser/LLParser.h +++ b/lib/AsmParser/LLParser.h
@@ -77,6 +77,8 @@ Context(m->getContext()), Lex(F, Err), M(m) {} bool Run(); + LLVMContext& getContext() { return Context; } + private: bool Error(LocTy L, const std::string &Msg) const {