[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp
Jim Laskey
jlaskey at apple.com
Tue Jul 11 10:58:23 PDT 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCCodeEmitter.cpp updated: 1.61 -> 1.62
---
Log message:
Ensure that dump calls that are associated with asserts are removed from
non-debug build.
---
Diffs of the changes: (+1 -1)
PPCCodeEmitter.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp
diff -u llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp:1.61 llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp:1.62
--- llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp:1.61 Wed Jun 28 18:17:23 2006
+++ llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp Tue Jul 11 12:58:07 2006
@@ -160,7 +160,7 @@
Reloc = PPC::reloc_pcrel_bx;
else {
switch (MI.getOpcode()) {
- default: MI.dump(); assert(0 && "Unknown instruction for relocation!");
+ default: DEBUG(MI.dump()); assert(0 && "Unknown instruction for relocation!");
case PPC::LIS:
Reloc = PPC::reloc_absolute_high; // Pointer to symbol
break;
More information about the llvm-commits
mailing list