1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-03-03 14:31:10 +00:00

Fix an example that used the old SetCondInst instruction.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32681 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2006-12-19 19:47:54 +00:00
parent c92d25d50b
commit 6388e3059d

@ -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();