From 5948fdf68b5a1a68e8dbc10d28ef77473d5fc774 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Wed, 8 Jul 2009 01:26:06 +0000 Subject: Push LLVMContext through GlobalVariables and IRBuilder. llvm-svn: 74985 --- llvm/examples/BrainF/BrainF.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/examples') diff --git a/llvm/examples/BrainF/BrainF.cpp b/llvm/examples/BrainF/BrainF.cpp index d3261d79965..7ae268f5929 100644 --- a/llvm/examples/BrainF/BrainF.cpp +++ b/llvm/examples/BrainF/BrainF.cpp @@ -128,6 +128,7 @@ void BrainF::header(LLVMContext& C) { get("Error: The head has left the tape.", true); GlobalVariable *aberrormsg = new GlobalVariable( + module->getContext(), msg_0->getType(), true, GlobalValue::InternalLinkage, -- cgit v1.2.3