mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Stop using abegin.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20609 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5a1c58d009
commit
dadf88123f
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user