Fix printing of Argument objects, problem found by Patrick Meredith

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14215 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-06-18 04:07:20 +00:00
parent cb37056996
commit a8abee2136

View File

@ -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.