From b7664c617373bbb62b8cf281e0fbc3802a95f9d1 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Wed, 5 Mar 2008 02:34:36 +0000 Subject: [PATCH] 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 --- lib/Target/X86/X86CodeEmitter.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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: