summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit84adfd8c4ffb97f5a0f882756178bc8fcc37b822 (patch)
tree45c583603f4471fd16ad3c5655bc20aca4e49a4e /llvm/examples/Fibonacci
parenta67bafa5688829412b6bec5378259145c8c6bd0f (diff)
downloadbcm5719-llvm-84adfd8c4ffb97f5a0f882756178bc8fcc37b822.tar.gz
bcm5719-llvm-84adfd8c4ffb97f5a0f882756178bc8fcc37b822.zip
Stop using abegin.
llvm-svn: 20609
Diffstat (limited to 'llvm/examples/Fibonacci')
-rw-r--r--llvm/examples/Fibonacci/fibonacci.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/Fibonacci/fibonacci.cpp b/llvm/examples/Fibonacci/fibonacci.cpp
index aee14056edb..afffce74084 100644
--- a/llvm/examples/Fibonacci/fibonacci.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud