Stop using abegin.
authorAlkis Evlogimenos <alkis@evlogimenos.com>
Tue, 15 Mar 2005 07:12:30 +0000 (07:12 +0000)
committerAlkis Evlogimenos <alkis@evlogimenos.com>
Tue, 15 Mar 2005 07:12:30 +0000 (07:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20609 91177308-0d34-0410-b5e6-96231b3b80d8

examples/Fibonacci/fibonacci.cpp

index aee14056edb3ea1992f5b446ec9f20d8fcb79fc2..afffce7408445ca54a8c64e547e9e5721c46cf15 100644 (file)
@@ -47,7 +47,7 @@ static Function *CreateFibFunction(Module *M) {
   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.