summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2004-05-25 08:46:04 +0000
committerReid Spencer <rspencer@reidspencer.com>2004-05-25 08:46:04 +0000
commit50e3db3a64302c2cff299d5670c694ec1f4b1e28 (patch)
treeb7e32c69bf45f200afc71b761964829fa5778459 /llvm
parent1eb1ef009ed7d2c5effa672954825c38064c7e28 (diff)
downloadbcm5719-llvm-50e3db3a64302c2cff299d5670c694ec1f4b1e28.tar.gz
bcm5719-llvm-50e3db3a64302c2cff299d5670c694ec1f4b1e28.zip
Give Type its own dump() method in preparation for Type != Value.
llvm-svn: 13746
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Type.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/include/llvm/Type.h b/llvm/include/llvm/Type.h
index e1fef6c882a..140b56445fb 100644
--- a/llvm/include/llvm/Type.h
+++ b/llvm/include/llvm/Type.h
@@ -128,6 +128,9 @@ protected:
public:
virtual void print(std::ostream &O) const;
+ /// @brief Debugging support: print to stderr
+ virtual void dump() const;
+
//===--------------------------------------------------------------------===//
// Property accessors for dealing with types... Some of these virtual methods
// are defined in private classes defined in Type.cpp for primitive types.
OpenPOWER on IntegriCloud