[llvm-commits] CVS: llvm/examples/HowToUseJIT/HowToUseJIT.cpp

Alkis Evlogimenos alkis at cs.uiuc.edu
Mon Mar 14 23:21:06 PST 2005



Changes in directory llvm/examples/HowToUseJIT:

HowToUseJIT.cpp updated: 1.6 -> 1.7
---
Log message:

Stop using abegin and aend.


---
Diffs of the changes:  (+2 -2)

 HowToUseJIT.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)


Index: llvm/examples/HowToUseJIT/HowToUseJIT.cpp
diff -u llvm/examples/HowToUseJIT/HowToUseJIT.cpp:1.6 llvm/examples/HowToUseJIT/HowToUseJIT.cpp:1.7
--- llvm/examples/HowToUseJIT/HowToUseJIT.cpp:1.6	Sat Sep 11 15:30:11 2004
+++ llvm/examples/HowToUseJIT/HowToUseJIT.cpp	Tue Mar 15 01:20:55 2005
@@ -61,8 +61,8 @@
   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.






More information about the llvm-commits mailing list