Fix accidental case fall-throughs in MutableMethodImplementation

This commit is contained in:
Ben Gruver 2013-10-11 21:32:33 -07:00
parent 1697b1d97d
commit bc6fcd5ae3

View File

@ -589,8 +589,10 @@ public class MutableMethodImplementation implements MethodImplementation {
case SparseSwitchPayload:
setInstruction(location,
newBuilderSparseSwitchPayload(location, codeAddressToIndex, (SparseSwitchPayload)instruction));
return;
case ArrayPayload:
setInstruction(location, newBuilderArrayPayload((ArrayPayload)instruction));
return;
default:
throw new ExceptionWithContext("Instruction format %s not supported", instruction.getOpcode().format);
}