From: Evan Cheng Date: Wed, 5 Mar 2008 02:34:36 +0000 (+0000) Subject: Ignore debugging related instructions if they get this far. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b7664c617373bbb62b8cf281e0fbc3802a95f9d1;p=oota-llvm.git Ignore debugging related instructions if they get this far. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47934 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86CodeEmitter.cpp b/lib/Target/X86/X86CodeEmitter.cpp index 8fdf6a501f7..19b52e8dafc 100644 --- a/lib/Target/X86/X86CodeEmitter.cpp +++ b/lib/Target/X86/X86CodeEmitter.cpp @@ -610,11 +610,15 @@ void Emitter::emitInstruction(const MachineInstr &MI, switch (Opcode) { default: assert(0 && "psuedo instructions should be removed before code emission"); + break; case TargetInstrInfo::INLINEASM: assert(0 && "JIT does not support inline asm!\n"); + break; case TargetInstrInfo::LABEL: MCE.emitLabel(MI.getOperand(0).getImm()); break; + case TargetInstrInfo::DECLARE: + case X86::DWARF_LOC: case X86::IMPLICIT_DEF_GR8: case X86::IMPLICIT_DEF_GR16: case X86::IMPLICIT_DEF_GR32: