Add defensive break.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86705 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands 2009-11-10 19:36:40 +00:00
parent 5da58851e5
commit 650c64383e

View File

@ -143,6 +143,7 @@ static unsigned getStoreSize(Instruction *I, const TargetData *TD) {
return -1u;
case Intrinsic::lifetime_end:
Len = II->getOperand(1);
break;
}
}
if (ConstantInt *LenCI = dyn_cast<ConstantInt>(Len))