summaryrefslogtreecommitdiffstats
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
commit222dcd44ff19540223b7cfeab2d3271bc6065de2 (patch)
treefd61387b1f0e72add0c074df77cb97c5902a7f4e
parent84adfd8c4ffb97f5a0f882756178bc8fcc37b822 (diff)
downloadbcm5719-llvm-222dcd44ff19540223b7cfeab2d3271bc6065de2.tar.gz
bcm5719-llvm-222dcd44ff19540223b7cfeab2d3271bc6065de2.zip
Stop using abegin and aend.
llvm-svn: 20610
-rw-r--r--llvm/examples/HowToUseJIT/HowToUseJIT.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/examples/HowToUseJIT/HowToUseJIT.cpp b/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
index 6cea720bb43..3762dfe3cb4 100644
--- a/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
+++ b/llvm/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.
OpenPOWER on IntegriCloud