[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Jun 17 23:14:01 PDT 2004
Changes in directory llvm/lib/VMCore:
AsmWriter.cpp updated: 1.141 -> 1.142
---
Log message:
Fix printing of Argument objects, problem found by Patrick Meredith
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/VMCore/AsmWriter.cpp
diff -u llvm/lib/VMCore/AsmWriter.cpp:1.141 llvm/lib/VMCore/AsmWriter.cpp:1.142
--- llvm/lib/VMCore/AsmWriter.cpp:1.141 Thu Jun 17 13:18:53 2004
+++ llvm/lib/VMCore/AsmWriter.cpp Thu Jun 17 23:07:20 2004
@@ -1132,7 +1132,7 @@
}
void Argument::print(std::ostream &o) const {
- o << getType() << ' ' << getName();
+ WriteAsOperand(o, this, true, true, getParent()->getParent());
}
// Value::dump - allow easy printing of Values from the debugger.
More information about the llvm-commits
mailing list