[llvm-commits] [llvm] r92669 - /llvm/trunk/lib/VMCore/ConstantsContext.h

David Greene greened at obbligato.org
Mon Jan 4 17:34:27 PST 2010


Author: greened
Date: Mon Jan  4 19:34:26 2010
New Revision: 92669

URL: http://llvm.org/viewvc/llvm-project?rev=92669&view=rev
Log:

Fix a build error and change errs() to dbgs().

Modified:
    llvm/trunk/lib/VMCore/ConstantsContext.h

Modified: llvm/trunk/lib/VMCore/ConstantsContext.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/ConstantsContext.h?rev=92669&r1=92668&r2=92669&view=diff

==============================================================================
--- llvm/trunk/lib/VMCore/ConstantsContext.h (original)
+++ llvm/trunk/lib/VMCore/ConstantsContext.h Mon Jan  4 19:34:26 2010
@@ -17,6 +17,7 @@
 
 #include "llvm/Instructions.h"
 #include "llvm/Operator.h"
+#include "llvm/Support/Debug.h"
 #include "llvm/Support/ErrorHandling.h"
 #include "llvm/Support/raw_ostream.h"
 #include <map>
@@ -763,7 +764,7 @@
   }
 
   void dump() const {
-    DEBUG(errs() << "Constant.cpp: ConstantUniqueMap\n");
+    DEBUG(dbgs() << "Constant.cpp: ConstantUniqueMap\n");
   }
 };
 





More information about the llvm-commits mailing list