aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/VMCore/AsmWriter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp
index 976cdd5b7f..a82132fc2b 100644
--- a/lib/VMCore/AsmWriter.cpp
+++ b/lib/VMCore/AsmWriter.cpp
@@ -1132,7 +1132,7 @@ void Type::print(std::ostream &o) const {
}
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.