summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-12-19 19:47:54 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-12-19 19:47:54 +0000
commit6388e3059deea795c21af1f7ebfdcfd000c8bf0a (patch)
treed1d023dabedea27899c05d10507afcb20c61089d /docs
parentc92d25d50b7267fad0d3553cd8b7f443aa02af11 (diff)
downloadllvm-6388e3059deea795c21af1f7ebfdcfd000c8bf0a.tar.gz
llvm-6388e3059deea795c21af1f7ebfdcfd000c8bf0a.tar.bz2
llvm-6388e3059deea795c21af1f7ebfdcfd000c8bf0a.tar.xz
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
Diffstat (limited to 'docs')
-rw-r--r--docs/Stacker.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/Stacker.html b/docs/Stacker.html
index a49b56de86..8bdf68ea6b 100644
--- a/docs/Stacker.html
+++ b/docs/Stacker.html
@@ -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();