Fix an example that used the old SetCondInst instruction.

llvm-svn: 32681
This commit is contained in:
Reid Spencer 2006-12-19 19:47:54 +00:00
parent c6be386754
commit 8810d370af
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ in a single function using LLVM in the following way: </p>
<pre>
using namespace llvm;
BasicBlock*
MyCompiler::handle_if( BasicBlock* bb, SetCondInst* condition )
MyCompiler::handle_if( BasicBlock* bb, ICmpInst* condition )
{
// Create the blocks to contain code in the structure of if/then/else
BasicBlock* then_bb = new BasicBlock();