create method for different multiname types

This commit is contained in:
honfika@gmail.com
2015-11-10 11:05:47 +01:00
parent f60e5c5f23
commit 7bdecd990a
16 changed files with 244 additions and 222 deletions

View File

@@ -208,7 +208,7 @@ 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);
Multiname multiname = Multiname.createRTQNameL(false);
abc.constants.addMultiname(multiname);
AVM2Instruction ins = new AVM2Instruction(0, null, new int[]{1, 20});
for (InstructionDefinition def : AVM2Code.instructionSet) {