Add debug support
authorChris Lattner <sabre@nondot.org>
Thu, 4 Apr 2002 19:24:11 +0000 (19:24 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 4 Apr 2002 19:24:11 +0000 (19:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2105 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Bytecode/Reader/ReaderInternals.h

index d36ea6def62faa001051be841226d2dd9d14103b..47cde2adc0e809d90c3e7fcfea26eb0b3053c179 100644 (file)
@@ -52,6 +52,10 @@ public:
 
   std::string getError() const { return Error; }
 
+  void dump() const {
+    cerr << "BytecodeParser instance!\n";
+  }
+
 private:          // All of this data is transient across calls to ParseBytecode
   Module *TheModule;   // Current Module being read into...