aboutsummaryrefslogtreecommitdiff
path: root/docs/tutorial/JITTutorial2.html
diff options
context:
space:
mode:
authorGabor Greif <ggreif@gmail.com>2008-04-19 22:25:09 +0000
committerGabor Greif <ggreif@gmail.com>2008-04-19 22:25:09 +0000
commitdf7d2b4ce89599ca75d4dc4fd581ce4507f73f2d (patch)
treefd73c200d859c64a6f81a6cc38ca5988602ad112 /docs/tutorial/JITTutorial2.html
parentd881ad2c570dcb5965eb00b66462e1075ec82440 (diff)
merge of 49966 from branches/ggreif/use-diet to trunk. these are already active API changes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49968 91177308-0d34-0410-b5e6-96231b3b80d8
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 ba3d043ade..1a4b05d458 100644
--- a/docs/tutorial/JITTutorial2.html
+++ b/docs/tutorial/JITTutorial2.html
@@ -98,11 +98,11 @@ Module* makeLLVMModule() {
<div class="doc_code">
<pre>
- BasicBlock* entry = new BasicBlock(&quot;entry&quot;, gcd);
- BasicBlock* ret = new BasicBlock(&quot;return&quot;, gcd);
- BasicBlock* cond_false = new BasicBlock(&quot;cond_false&quot;, gcd);
- BasicBlock* cond_true = new BasicBlock(&quot;cond_true&quot;, gcd);
- BasicBlock* cond_false_2 = new BasicBlock(&quot;cond_false&quot;, gcd);
+ 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);
</pre>
</div>