aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/VMCore/AsmWriter.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp
index bb30570395..698e72539a 100644
--- a/lib/VMCore/AsmWriter.cpp
+++ b/lib/VMCore/AsmWriter.cpp
@@ -1015,7 +1015,12 @@ void Argument::print(std::ostream &o) const {
o << getType() << " " << getName();
}
+// Value::dump - allow easy printing of Values from the debugger.
+// Located here because so much of the needed functionality is here.
void Value::dump() const { print(std::cerr); }
+
+// Type::dump - allow easy printing of Values from the debugger.
+// Located here because so much of the needed functionality is here.
void Type::dump() const { print(std::cerr); }
//===----------------------------------------------------------------------===//