diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-08 20:50:47 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-08 20:50:47 +0000 |
commit | d1fbd142945f5ef0c273c3d756431f8cb9d25ded (patch) | |
tree | 4abdf9a72e70b434f1c49869e066ff4e62d8c317 /examples/Kaleidoscope | |
parent | 096e7280c2abceb4dcc119677c31a2055bc8ccde (diff) |
Push LLVMContext _back_ through IRBuilder.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75040 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples/Kaleidoscope')
-rw-r--r-- | examples/Kaleidoscope/toy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Kaleidoscope/toy.cpp b/examples/Kaleidoscope/toy.cpp index 612cfa547c..3893aeac59 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<std::string, AllocaInst*> NamedValues; static FunctionPassManager *TheFPM; |