commit | 04cbeecefa39842809cf704d380b71386120039e | [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 | e785adea6a677d6d98fa87763e1db138b7537f12 [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 {