Fix an example that used the old SetCondInst instruction.
authorReid Spencer <rspencer@reidspencer.com>
Tue, 19 Dec 2006 19:47:54 +0000 (19:47 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 19 Dec 2006 19:47:54 +0000 (19:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32681 91177308-0d34-0410-b5e6-96231b3b80d8

docs/Stacker.html

index a49b56de863cda6cc3cf159cd23fb556b44a13e2..8bdf68ea6b0753c7c8497e5a2ddd2d429b9e2e28 100644 (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();