Issues #561, #509, #433: EmptyStackException fix - correct hasnext2 arguments type

This commit is contained in:
Jindra Petk
2014-04-18 19:29:42 +02:00
parent f6b03683ff
commit ed366ce64b

View File

@@ -33,7 +33,7 @@ import java.util.Stack;
public class HasNext2Ins extends InstructionDefinition {
public HasNext2Ins() {
super(0x32, "hasnext2", new int[]{AVM2Code.OPT_U8, AVM2Code.OPT_U8});
super(0x32, "hasnext2", new int[]{AVM2Code.DAT_LOCAL_REG_INDEX, AVM2Code.DAT_LOCAL_REG_INDEX});
}
@Override