summaryrefslogtreecommitdiffstats
path: root/docs/Stacker.html
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-11-25 01:44:27 +0000
committerChris Lattner <sabre@nondot.org>2003-11-25 01:44:27 +0000
commit0b404c83f462719c240d0faea6df1f90f097b02f (patch)
treef9bc2f4620833853bf26623d79b8509996cbdba3 /docs/Stacker.html
parente46d601ffd85b3d886709a028259f9e2e881f323 (diff)
downloadexternal_llvm-0b404c83f462719c240d0faea6df1f90f097b02f.zip
external_llvm-0b404c83f462719c240d0faea6df1f90f097b02f.tar.gz
external_llvm-0b404c83f462719c240d0faea6df1f90f097b02f.tar.bz2
Minor fixes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10202 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/Stacker.html')
-rw-r--r--docs/Stacker.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/Stacker.html b/docs/Stacker.html
index fbdc5bd..89fa414 100644
--- a/docs/Stacker.html
+++ b/docs/Stacker.html
@@ -141,15 +141,15 @@ expression(BasicBlock*bb, Value* a, Value* b, Value* x, Value* y )
Instruction* tail = bb->getTerminator();
ConstantSInt* one = ConstantSInt::get( Type::IntTy, 1);
BinaryOperator* or1 =
- new BinaryOperator::create( Instruction::Or, a, b, "", tail );
+ BinaryOperator::create( Instruction::Or, a, b, "", tail );
BinaryOperator* add1 =
- new BinaryOperator::create( Instruction::Add, x, one, "", tail );
+ BinaryOperator::create( Instruction::Add, x, one, "", tail );
BinaryOperator* add2 =
- new BinaryOperator::create( Instruction::Add, y, one, "", tail );
+ BinaryOperator::create( Instruction::Add, y, one, "", tail );
BinaryOperator* div1 =
- new BinaryOperator::create( Instruction::Div, add1, add2, "", tail);
+ BinaryOperator::create( Instruction::Div, add1, add2, "", tail);
BinaryOperator* mult1 =
- new BinaryOperator::create( Instruction::Mul, or1, div1, "", tail );
+ BinaryOperator::create( Instruction::Mul, or1, div1, "", tail );
return mult1;
}
@@ -271,7 +271,7 @@ act like branch labels! This new <code>BranchInst</code> terminates
the <code>BasicBlock</code> provided as an argument. To give the caller a way
to keep inserting after calling <code>handle_if</code> we create an "exit" block
which is returned to the caller. Note that the "exit" block is used as the
-terminator for both the "then" and the "else" blocks. This gaurantees that no
+terminator for both the "then" and the "else" blocks. This guarantees that no
matter what else "handle_if" or "fill_in" does, they end up at the "exit" block.
</p>
</div>