summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-05-25 18:14:38 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-05-25 18:14:38 +0000
commit5264183123b00ab7d37c3e31c23a270026e804a4 (patch)
tree988c1eb1462cb23ae97a63eef07ba5ed94aa9adc /llvm/lib
parente7d5ec2b68f18c68d043e7b9a0c9a1d52ebe1596 (diff)
downloadbcm5719-llvm-5264183123b00ab7d37c3e31c23a270026e804a4.tar.gz
bcm5719-llvm-5264183123b00ab7d37c3e31c23a270026e804a4.zip
Document a couple functions.
llvm-svn: 13761
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/VMCore/AsmWriter.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/AsmWriter.cpp b/llvm/lib/VMCore/AsmWriter.cpp
index bb30570395a..698e72539a7 100644
--- a/llvm/lib/VMCore/AsmWriter.cpp
+++ b/llvm/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); }
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud