llvm.org GIT mirror llvm / 1d9f262
Stop using abegin and aend. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20610 91177308-0d34-0410-b5e6-96231b3b80d8 Alkis Evlogimenos 14 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
6060 Value *One = ConstantSInt::get(Type::IntTy, 1);
6161
6262 // Get pointers to the integer argument of the add1 function...
63 assert(Add1F->abegin() != Add1F->aend()); // Make sure there's an arg
64 Argument *ArgX = Add1F->abegin(); // Get the arg
63 assert(Add1F->arg_begin() != Add1F->arg_end()); // Make sure there's an arg
64 Argument *ArgX = Add1F->arg_begin(); // Get the arg
6565 ArgX->setName("AnArg"); // Give it a nice symbolic name for fun.
6666
6767 // Create the add instruction, inserting it into the end of BB.