From: Chris Lattner Date: Thu, 12 Jul 2001 23:33:53 +0000 (+0000) Subject: Add DebugValue global function X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=b144fb872c41d85aea501a7f5051986a072c7c45;p=oota-llvm.git Add DebugValue global function git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Assembly/Writer.h b/include/llvm/Assembly/Writer.h index 68a5ed28122..6c7addd283f 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