mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
Eliminate a compile time warning.
llvm-svn: 59678
This commit is contained in:
parent
b434100baa
commit
c8ecb037a2
@ -552,10 +552,12 @@ void ARMCodeEmitter::emitPseudoInstruction(const MachineInstr &MI) {
|
||||
default:
|
||||
abort(); // FIXME:
|
||||
case TargetInstrInfo::INLINEASM: {
|
||||
const char* Value = MI.getOperand(0).getSymbolName();
|
||||
/* We allow inline assembler nodes with empty bodies - they can
|
||||
implicitly define registers, which is ok for JIT. */
|
||||
assert((Value[0] == 0) && "JIT does not support inline asm!\n");
|
||||
// We allow inline assembler nodes with empty bodies - they can
|
||||
// implicitly define registers, which is ok for JIT.
|
||||
if (MI.getOperand(0).getSymbolName()[0]) {
|
||||
assert(0 && "JIT does not support inline asm!\n");
|
||||
abort();
|
||||
}
|
||||
break;
|
||||
}
|
||||
case TargetInstrInfo::DBG_LABEL:
|
||||
|
Loading…
Reference in New Issue
Block a user