[llvm-commits] CVS: llvm/examples/Fibonacci/fibonacci.cpp

Alkis Evlogimenos alkis at cs.uiuc.edu
Mon Mar 14 23:12:43 PST 2005



Changes in directory llvm/examples/Fibonacci:

fibonacci.cpp updated: 1.5 -> 1.6
---
Log message:

Stop using abegin.


---
Diffs of the changes:  (+1 -1)

 fibonacci.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/examples/Fibonacci/fibonacci.cpp
diff -u llvm/examples/Fibonacci/fibonacci.cpp:1.5 llvm/examples/Fibonacci/fibonacci.cpp:1.6
--- llvm/examples/Fibonacci/fibonacci.cpp:1.5	Thu Nov  4 22:11:40 2004
+++ llvm/examples/Fibonacci/fibonacci.cpp	Tue Mar 15 01:12:30 2005
@@ -47,7 +47,7 @@
   Value *Two = ConstantSInt::get(Type::IntTy, 2);
 
   // Get pointer to the integer argument of the add1 function...
-  Argument *ArgX = FibF->abegin();   // Get the arg.
+  Argument *ArgX = FibF->arg_begin();   // Get the arg.
   ArgX->setName("AnArg");            // Give it a nice symbolic name for fun.
 
   // Create the true_block.






More information about the llvm-commits mailing list