aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 68a5ed2812..6c7addd283 100644
--- a/include/llvm/Assembly/Writer.h
+++ b/include/llvm/Assembly/Writer.h
@@ -88,4 +88,8 @@ inline ostream &operator<<(ostream &o, const Value *I) {
return o;
}
+inline void DebugValue(const Value *V) {
+ cerr << V << endl;
+}
+
#endif