summaryrefslogtreecommitdiffstats
path: root/docs/tutorial/JITTutorial2.html
diff options
context:
space:
mode:
authorrdivacky <rdivacky@FreeBSD.org>2009-10-14 17:57:32 +0000
committerrdivacky <rdivacky@FreeBSD.org>2009-10-14 17:57:32 +0000
commitcd749a9c07f1de2fb8affde90537efa4bc3e7c54 (patch)
treeb21f6de4e08b89bb7931806bab798fc2a5e3a686 /docs/tutorial/JITTutorial2.html
parent72621d11de5b873f1695f391eb95f0b336c3d2d4 (diff)
downloadFreeBSD-src-cd749a9c07f1de2fb8affde90537efa4bc3e7c54.zip
FreeBSD-src-cd749a9c07f1de2fb8affde90537efa4bc3e7c54.tar.gz
Update llvm to r84119.
Diffstat (limited to 'docs/tutorial/JITTutorial2.html')
-rw-r--r--docs/tutorial/JITTutorial2.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/tutorial/JITTutorial2.html b/docs/tutorial/JITTutorial2.html
index c2483e4..504d965 100644
--- a/docs/tutorial/JITTutorial2.html
+++ b/docs/tutorial/JITTutorial2.html
@@ -100,11 +100,11 @@ Module* makeLLVMModule() {
<div class="doc_code">
<pre>
- BasicBlock* entry = BasicBlock::Create(&quot;entry&quot;, gcd);
- BasicBlock* ret = BasicBlock::Create(&quot;return&quot;, gcd);
- BasicBlock* cond_false = BasicBlock::Create(&quot;cond_false&quot;, gcd);
- BasicBlock* cond_true = BasicBlock::Create(&quot;cond_true&quot;, gcd);
- BasicBlock* cond_false_2 = BasicBlock::Create(&quot;cond_false&quot;, gcd);
+ BasicBlock* entry = BasicBlock::Create(getGlobalContext(), (&quot;entry&quot;, gcd);
+ BasicBlock* ret = BasicBlock::Create(getGlobalContext(), (&quot;return&quot;, gcd);
+ BasicBlock* cond_false = BasicBlock::Create(getGlobalContext(), (&quot;cond_false&quot;, gcd);
+ BasicBlock* cond_true = BasicBlock::Create(getGlobalContext(), (&quot;cond_true&quot;, gcd);
+ BasicBlock* cond_false_2 = BasicBlock::Create(getGlobalContext(), (&quot;cond_false&quot;, gcd);
</pre>
</div>
OpenPOWER on IntegriCloud