mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-01 07:32:15 +00:00
AVM2Instuction: removed uplicated length calculation
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user