From 7c6c35e37cde6fb2a598e4c1ba8aabce1bdf3f99 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Wed, 5 Mar 2008 02:34:36 +0000 Subject: 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 8fdf6a5..19b52e8 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: -- cgit v1.1