From cd749a9c07f1de2fb8affde90537efa4bc3e7c54 Mon Sep 17 00:00:00 2001 From: rdivacky Date: Wed, 14 Oct 2009 17:57:32 +0000 Subject: Update llvm to r84119. --- docs/tutorial/JITTutorial1.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/tutorial/JITTutorial1.html') diff --git a/docs/tutorial/JITTutorial1.html b/docs/tutorial/JITTutorial1.html index ac3958e..3b7b8de 100644 --- a/docs/tutorial/JITTutorial1.html +++ b/docs/tutorial/JITTutorial1.html @@ -107,7 +107,7 @@ first chunk of our makeLLVMModule():

 Module* makeLLVMModule() {
   // Module Construction
-  Module* mod = new Module("test");
+  Module* mod = new Module("test", getGlobalContext());
 
@@ -153,7 +153,7 @@ function will interoperate properly with C code, which is a good thing.

-  BasicBlock* block = BasicBlock::Create("entry", mul_add);
+  BasicBlock* block = BasicBlock::Create(getGlobalContext(), "entry", mul_add);
   IRBuilder<> builder(block);
 
@@ -200,7 +200,7 @@ function will interoperate properly with C code, which is a good thing.

Owen Anderson
The LLVM Compiler Infrastructure
- Last modified: $Date: 2007-10-17 11:05:13 -0700 (Wed, 17 Oct 2007) $ + Last modified: $Date: 2009-07-21 11:05:13 -0700 (Tue, 21 Jul 2009) $ -- cgit v1.1