mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Eliminate a compile time warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59678 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
eda60a8364
commit
e3066abfcf
@ -552,10 +552,12 @@ void ARMCodeEmitter::emitPseudoInstruction(const MachineInstr &MI) {
|
|||||||
default:
|
default:
|
||||||
abort(); // FIXME:
|
abort(); // FIXME:
|
||||||
case TargetInstrInfo::INLINEASM: {
|
case TargetInstrInfo::INLINEASM: {
|
||||||
const char* Value = MI.getOperand(0).getSymbolName();
|
// We allow inline assembler nodes with empty bodies - they can
|
||||||
/* We allow inline assembler nodes with empty bodies - they can
|
// implicitly define registers, which is ok for JIT.
|
||||||
implicitly define registers, which is ok for JIT. */
|
if (MI.getOperand(0).getSymbolName()[0]) {
|
||||||
assert((Value[0] == 0) && "JIT does not support inline asm!\n");
|
assert(0 && "JIT does not support inline asm!\n");
|
||||||
|
abort();
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case TargetInstrInfo::DBG_LABEL:
|
case TargetInstrInfo::DBG_LABEL:
|
||||||
|
Loading…
Reference in New Issue
Block a user