[llvm-commits] CVS: llvm/examples/Fibonacci/fibonacci.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu May 5 23:22:13 PDT 2005
Changes in directory llvm/examples/Fibonacci:
fibonacci.cpp updated: 1.8 -> 1.9
---
Log message:
Don't forget these are calls
---
Diffs of the changes: (+4 -4)
fibonacci.cpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Index: llvm/examples/Fibonacci/fibonacci.cpp
diff -u llvm/examples/Fibonacci/fibonacci.cpp:1.8 llvm/examples/Fibonacci/fibonacci.cpp:1.9
--- llvm/examples/Fibonacci/fibonacci.cpp:1.8 Fri May 6 00:59:49 2005
+++ llvm/examples/Fibonacci/fibonacci.cpp Fri May 6 01:22:00 2005
@@ -64,13 +64,13 @@
// create fib(x-1)
Value *Sub = BinaryOperator::createSub(ArgX, One, "arg", RecurseBB);
- Value *CallFibX1 = new CallInst(FibF, Sub, "fibx1", RecurseBB);
- CallFibX1->setTailCall(true);
+ CallInst *CallFibX1 = new CallInst(FibF, Sub, "fibx1", RecurseBB);
+ CallFibX1->setTailCall();
// create fib(x-2)
Sub = BinaryOperator::createSub(ArgX, Two, "arg", RecurseBB);
- Value *CallFibX2 = new CallInst(FibF, Sub, "fibx2", RecurseBB);
- CallFibX2->setTailCall(true);
+ CallInst *CallFibX2 = new CallInst(FibF, Sub, "fibx2", RecurseBB);
+ CallFibX2->setTailCall();
// fib(x-1)+fib(x-2)
More information about the llvm-commits
mailing list