From d1fbd142945f5ef0c273c3d756431f8cb9d25ded Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Wed, 8 Jul 2009 20:50:47 +0000 Subject: Push LLVMContext _back_ through IRBuilder. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75040 91177308-0d34-0410-b5e6-96231b3b80d8 --- examples/Kaleidoscope/toy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/Kaleidoscope/toy.cpp b/examples/Kaleidoscope/toy.cpp index 612cfa5..3893aea 100644 --- a/examples/Kaleidoscope/toy.cpp +++ b/examples/Kaleidoscope/toy.cpp @@ -604,7 +604,7 @@ static PrototypeAST *ParseExtern() { //===----------------------------------------------------------------------===// static Module *TheModule; -static IRBuilder<> Builder; +static IRBuilder<> Builder(getGlobalContext()); static std::map NamedValues; static FunctionPassManager *TheFPM; -- cgit v1.1