projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb37056
)
Fix printing of Argument objects, problem found by Patrick Meredith
author
Chris Lattner
<sabre@nondot.org>
Fri, 18 Jun 2004 04:07:20 +0000
(
04:07
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 18 Jun 2004 04:07:20 +0000
(
04:07
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14215
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/AsmWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/AsmWriter.cpp
b/lib/VMCore/AsmWriter.cpp
index 976cdd5b7fd9b3d5b22fba3b7c5db10e93055910..a82132fc2bbfb3e2fa99f451c68085f9fa4d63cc 100644
(file)
--- 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.