Give a good error message when we try to jit inline asm.

llvm-svn: 29891
This commit is contained in:
Chris Lattner 2006-08-26 00:47:03 +00:00
parent f4f0b1995c
commit c664efe223
1 changed files with 3 additions and 0 deletions

View File

@ -385,6 +385,9 @@ void Emitter::emitInstruction(const MachineInstr &MI) {
switch (Opcode) {
default:
assert(0 && "psuedo instructions should be removed before code emission");
case TargetInstrInfo::INLINEASM:
std::cerr << "JIT does not support inline asm!\n";
abort();
case X86::IMPLICIT_USE:
case X86::IMPLICIT_DEF:
case X86::IMPLICIT_DEF_GR8: