Educate GetInstrSizeInBytes implementations that

DBG_VALUE does not generate code.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100681 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dale Johannesen
2010-04-07 19:51:44 +00:00
parent 2723691492
commit 375be7730a
4 changed files with 4 additions and 0 deletions
+1
View File
@@ -778,6 +778,7 @@ unsigned PPCInstrInfo::GetInstSizeInBytes(const MachineInstr *MI) const {
case PPC::DBG_LABEL:
case PPC::EH_LABEL:
case PPC::GC_LABEL:
case PPC::DBG_VALUE:
return 0;
default:
return 4; // PowerPC instructions are all 4 bytes