Issues #944,#991,#939 AS3 obfuscated switch read fix, wrong constants indices fix

This commit is contained in:
Jindra Petřík
2015-07-05 12:53:03 +02:00
parent 68cd20fa9c
commit cbbdded296
11 changed files with 154 additions and 36 deletions

View File

@@ -80,7 +80,7 @@ public class ActionScript3AssemblerTest extends ActionScriptTestBase {
+ str
+ "returnvoid\r\n";
MethodBody b = new MethodBody();
MethodBody b = new MethodBody(getABC());
AVM2Code code = ASM3Parser.parse(new StringReader(str), getABC().constants, null, b, new MethodInfo());
b.setCode(code);
return b;