summaryrefslogtreecommitdiffstats
path: root/docs/tutorial/JITTutorial1.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tutorial/JITTutorial1.html')
-rw-r--r--docs/tutorial/JITTutorial1.html6
1 files changed, 3 insertions, 3 deletions
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 <code>makeLLVMModule()</code>:</p>
<pre>
Module* makeLLVMModule() {
// Module Construction
- Module* mod = new Module("test");
+ Module* mod = new Module("test", getGlobalContext());
</pre>
</div>
@@ -153,7 +153,7 @@ function will interoperate properly with C code, which is a good thing.</p>
<div class="doc_code">
<pre>
- BasicBlock* block = BasicBlock::Create("entry", mul_add);
+ BasicBlock* block = BasicBlock::Create(getGlobalContext(), "entry", mul_add);
IRBuilder&lt;&gt; builder(block);
</pre>
</div>
@@ -200,7 +200,7 @@ function will interoperate properly with C code, which is a good thing.</p>
<a href="mailto:owen@apple.com">Owen Anderson</a><br>
<a href="http://llvm.org">The LLVM Compiler Infrastructure</a><br>
- 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) $
</address>
</body>
OpenPOWER on IntegriCloud