mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-26 16:17:26 +00:00
faster AVM2 constant pool when adding a lot of items to it.
This commit is contained in:
@@ -208,8 +208,8 @@ public class ActionScript3AssemblerTest extends ActionScriptTestBase {
|
||||
@Test
|
||||
public void testInstructionStackSizes() throws Exception {
|
||||
ABC abc = new ABC(null);
|
||||
Multiname multiname = new Multiname(Multiname.RTQNAMEL, 0, 0, 0, 0, null);
|
||||
abc.constants.constant_multiname.add(multiname);
|
||||
Multiname multiname = new Multiname(Multiname.RTQNAMEL, 0, 0, 0);
|
||||
abc.constants.addMultiname(multiname);
|
||||
AVM2Instruction ins = new AVM2Instruction(0, null, new int[]{1, 20});
|
||||
for (InstructionDefinition def : AVM2Code.instructionSet) {
|
||||
if (def == null) {
|
||||
|
||||
Reference in New Issue
Block a user