Educate GetInstrSizeInBytes implementations that
[oota-llvm.git] / lib / Target / ARM / ARMBaseInstrInfo.cpp
index 1995f79fa373919fc66d0c55db494c5e0eb39b97..7c49374f2e2961d4eaf93f8696a8cd3a773e9ace 100644 (file)
@@ -467,6 +467,7 @@ unsigned ARMBaseInstrInfo::GetInstSizeInBytes(const MachineInstr *MI) const {
     case TargetOpcode::KILL:
     case TargetOpcode::DBG_LABEL:
     case TargetOpcode::EH_LABEL:
+    case TargetOpcode::DBG_VALUE:
       return 0;
     }
     break;