[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

Chris Lattner lattner at cs.uiuc.edu
Mon Mar 14 21:03:49 PST 2005



Changes in directory llvm/lib/VMCore:

AsmWriter.cpp updated: 1.174 -> 1.175
---
Log message:

stop using arg_front


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

 AsmWriter.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/VMCore/AsmWriter.cpp
diff -u llvm/lib/VMCore/AsmWriter.cpp:1.174 llvm/lib/VMCore/AsmWriter.cpp:1.175
--- llvm/lib/VMCore/AsmWriter.cpp:1.174	Mon Mar 14 22:54:21 2005
+++ llvm/lib/VMCore/AsmWriter.cpp	Mon Mar 14 23:03:36 2005
@@ -956,7 +956,7 @@
 ///
 void AssemblyWriter::printArgument(const Argument *Arg) {
   // Insert commas as we go... the first arg doesn't get a comma
-  if (Arg != &Arg->getParent()->arg_front()) Out << ", ";
+  if (Arg != Arg->getParent()->arg_begin()) Out << ", ";
 
   // Output type...
   printType(Arg->getType());






More information about the llvm-commits mailing list