From ed366ce64bf4212b892d969ce6e43fbbcf8b875b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=F8=EDk?= Date: Fri, 18 Apr 2014 19:29:42 +0200 Subject: [PATCH] Issues #561, #509, #433: EmptyStackException fix - correct hasnext2 arguments type --- .../flash/abc/avm2/instructions/other/HasNext2Ins.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/other/HasNext2Ins.java b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/other/HasNext2Ins.java index cb79365c9..7985852a9 100644 --- a/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/other/HasNext2Ins.java +++ b/trunk/src/com/jpexs/decompiler/flash/abc/avm2/instructions/other/HasNext2Ins.java @@ -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