diff options
Diffstat (limited to 'llvm/examples/Kaleidoscope/Chapter3/toy.cpp')
-rw-r--r-- | llvm/examples/Kaleidoscope/Chapter3/toy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/Kaleidoscope/Chapter3/toy.cpp b/llvm/examples/Kaleidoscope/Chapter3/toy.cpp index d6c5165a98d..cdf0d6c8cdb 100644 --- a/llvm/examples/Kaleidoscope/Chapter3/toy.cpp +++ b/llvm/examples/Kaleidoscope/Chapter3/toy.cpp @@ -388,9 +388,9 @@ static std::unique_ptr<PrototypeAST> ParseExtern() { // Code Generation //===----------------------------------------------------------------------===// -static std::unique_ptr<Module> TheModule; static LLVMContext TheContext; static IRBuilder<> Builder(TheContext); +static std::unique_ptr<Module> TheModule; static std::map<std::string, Value *> NamedValues; Value *LogErrorV(const char *Str) { |