summaryrefslogtreecommitdiffstats
path: root/examples/Fibonacci
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2005-03-15 07:12:30 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2005-03-15 07:12:30 +0000
commitdadf88123f7abce7afe0db12beccc24c87e004a5 (patch)
tree53e589264394cec74872ddaff3101a41d2ab9b31 /examples/Fibonacci
parent5a1c58d0094ff16dcd103f3752046d426ad5dd2c (diff)
downloadexternal_llvm-dadf88123f7abce7afe0db12beccc24c87e004a5.zip
external_llvm-dadf88123f7abce7afe0db12beccc24c87e004a5.tar.gz
external_llvm-dadf88123f7abce7afe0db12beccc24c87e004a5.tar.bz2
Stop using abegin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20609 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples/Fibonacci')
-rw-r--r--examples/Fibonacci/fibonacci.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/Fibonacci/fibonacci.cpp b/examples/Fibonacci/fibonacci.cpp
index aee1405..afffce7 100644
--- a/examples/Fibonacci/fibonacci.cpp
+++ b/examples/Fibonacci/fibonacci.cpp
@@ -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.