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
diff --git a/docs/tutorial/JITTutorial2.html b/docs/tutorial/JITTutorial2.html
index ba3d043..1a4b05d 100644
--- a/docs/tutorial/JITTutorial2.html
+++ b/docs/tutorial/JITTutorial2.html
@@ -98,11 +98,11 @@
<div class="doc_code">
<pre>
- BasicBlock* entry = new BasicBlock("entry", gcd);
- BasicBlock* ret = new BasicBlock("return", gcd);
- BasicBlock* cond_false = new BasicBlock("cond_false", gcd);
- BasicBlock* cond_true = new BasicBlock("cond_true", gcd);
- BasicBlock* cond_false_2 = new BasicBlock("cond_false", gcd);
+ BasicBlock* entry = BasicBlock::Create("entry", gcd);
+ BasicBlock* ret = BasicBlock::Create("return", gcd);
+ BasicBlock* cond_false = BasicBlock::Create("cond_false", gcd);
+ BasicBlock* cond_true = BasicBlock::Create("cond_true", gcd);
+ BasicBlock* cond_false_2 = BasicBlock::Create("cond_false", gcd);
</pre>
</div>