Fix sipush length

This commit is contained in:
Adam
2016-04-01 22:31:19 -04:00
parent ed13e972cc
commit ce9359a1fd

View File

@@ -27,7 +27,9 @@ public class SiPush extends Instruction implements PushConstantInstruction
public SiPush(Instructions instructions, short value)
{
super(instructions, InstructionType.SIPUSH, -1);
s = value;
length += 2;
}
@Override