aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Assembly/Writer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Assembly/Writer.h')
-rw-r--r--include/llvm/Assembly/Writer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Assembly/Writer.h b/include/llvm/Assembly/Writer.h
index c8c09e8..8b96d0d 100644
--- a/include/llvm/Assembly/Writer.h
+++ b/include/llvm/Assembly/Writer.h
@@ -43,6 +43,10 @@ std::ostream &WriteAsOperand(std::ostream &, const Value *, bool PrintTy = true,
std::ostream &WriteAsOperand(std::ostream&, const Type*, bool PrintTy = true,
bool PrintName = true, const Module* Context = 0);
+#ifndef NDEBUG
+void dumpType(const Type* Ty);
+void dumpValue(const Value* Val);
+#endif
} // End llvm namespace
#endif