diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/BrainF/BrainF.cpp | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/examples/BrainF/BrainF.cpp b/examples/BrainF/BrainF.cpp index 7ae268f..058ef8c 100644 --- a/examples/BrainF/BrainF.cpp +++ b/examples/BrainF/BrainF.cpp @@ -128,13 +128,12 @@ void BrainF::header(LLVMContext& C) {        get("Error: The head has left the tape.", true);      GlobalVariable *aberrormsg = new GlobalVariable( -      module->getContext(), +      *module,        msg_0->getType(),        true,        GlobalValue::InternalLinkage,        msg_0, -      "aberrormsg", -      module); +      "aberrormsg");      //declare i32 @puts(i8 *)      Function *puts_func = cast<Function>(module-> | 
