From dd5f46cc765b4221f271eee278374f441f8f6af2 Mon Sep 17 00:00:00 2001 From: "honfika@gmail.com" Date: Wed, 8 Jul 2015 13:59:41 +0200 Subject: [PATCH] AVM2Instuction: removed uplicated length calculation --- .../flash/abc/avm2/instructions/AVM2Instruction.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/instructions/AVM2Instruction.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/instructions/AVM2Instruction.java index 1262b316a..9e7cfe5c8 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/instructions/AVM2Instruction.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/abc/avm2/instructions/AVM2Instruction.java @@ -107,7 +107,6 @@ public class AVM2Instruction implements Cloneable, GraphSourceItem { } public int getBytesLength() { - int refCnt = getBytes().length; int cnt = 1; for (int i = 0; i < definition.operands.length; i++) { int opt = definition.operands[i] & 0xff00; @@ -134,9 +133,6 @@ public class AVM2Instruction implements Cloneable, GraphSourceItem { } } - if (refCnt != cnt) { - throw new Error("aaa"); - } return cnt; }