summaryrefslogtreecommitdiff
path: root/examples/Fibonacci/fibonacci.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Fibonacci/fibonacci.cpp')
-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 aee14056ed..afffce7408 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.