summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2005-03-15 07:20:55 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2005-03-15 07:20:55 +0000
commit1d9f262b9dac7032e94857c1079b4ee62e0509d9 (patch)
tree5bb32d821464f397c6a7e4e16628f152878be7b6 /examples
parentdadf88123f7abce7afe0db12beccc24c87e004a5 (diff)
downloadllvm-1d9f262b9dac7032e94857c1079b4ee62e0509d9.tar.gz
llvm-1d9f262b9dac7032e94857c1079b4ee62e0509d9.tar.bz2
llvm-1d9f262b9dac7032e94857c1079b4ee62e0509d9.tar.xz
Stop using abegin and aend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20610 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
-rw-r--r--examples/HowToUseJIT/HowToUseJIT.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/HowToUseJIT/HowToUseJIT.cpp b/examples/HowToUseJIT/HowToUseJIT.cpp
index 6cea720bb4..3762dfe3cb 100644
--- a/examples/HowToUseJIT/HowToUseJIT.cpp
+++ b/examples/HowToUseJIT/HowToUseJIT.cpp
@@ -61,8 +61,8 @@ int main() {
Value *One = ConstantSInt::get(Type::IntTy, 1);
// Get pointers to the integer argument of the add1 function...
- assert(Add1F->abegin() != Add1F->aend()); // Make sure there's an arg
- Argument *ArgX = Add1F->abegin(); // Get the arg
+ assert(Add1F->arg_begin() != Add1F->arg_end()); // Make sure there's an arg
+ Argument *ArgX = Add1F->arg_begin(); // Get the arg
ArgX->setName("AnArg"); // Give it a nice symbolic name for fun.
// Create the add instruction, inserting it into the end of BB.