[llvm-commits] [llvm] r121660 - /llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp
Bill Wendling
isanbard at gmail.com
Sun Dec 12 17:03:49 PST 2010
Author: void
Date: Sun Dec 12 19:03:49 2010
New Revision: 121660
URL: http://llvm.org/viewvc/llvm-project?rev=121660&view=rev
Log:
Merge DEBUG statements.
Modified:
llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp
Modified: llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp?rev=121660&r1=121659&r2=121660&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/ARMDecoderEmitter.cpp Sun Dec 12 19:03:49 2010
@@ -1726,15 +1726,15 @@
return false;
}
- // Dumps the instruction encoding format.
- switch (TargetName) {
- case TARGET_ARM:
- case TARGET_THUMB:
- DEBUG(errs() << Name << " " << stringForARMFormat((ARMFormat)Form));
- break;
- }
-
DEBUG({
+ // Dumps the instruction encoding format.
+ switch (TargetName) {
+ case TARGET_ARM:
+ case TARGET_THUMB:
+ errs() << Name << " " << stringForARMFormat((ARMFormat)Form);
+ break;
+ }
+
errs() << " ";
// Dumps the instruction encoding bits.
More information about the llvm-commits
mailing list