mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-25 10:27:04 +00:00
Ensure that dump calls that are associated with asserts are removed from
non-debug build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29105 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -160,7 +160,7 @@ int PPCCodeEmitter::getMachineOpValue(MachineInstr &MI, MachineOperand &MO) {
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user