Fix exaples using IRBuilder. Thanks, Quadrescence and Glip7 from IRC!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66687 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Gabor Greif
2009-03-11 19:51:07 +00:00
parent ad9d21a952
commit d6c1ed08f6
7 changed files with 12 additions and 12 deletions

View File

@ -111,7 +111,7 @@ Module* makeLLVMModule() {
<div class="doc_code">
<pre>
IRBuilder builder(entry);
IRBuilder&lt;&gt; builder(entry);
Value* xEqualsY = builder.CreateICmpEQ(x, y, &quot;tmp&quot;);
builder.CreateCondBr(xEqualsY, ret, cond_false);
</pre>