AS2:Fixed Ifs, Added For..in, better Functions

This commit is contained in:
Jindra Pet��k
2010-09-06 15:32:07 +02:00
parent fafbbc4add
commit d0b5bf3559
102 changed files with 270 additions and 136 deletions
@@ -16,7 +16,7 @@ public class ActionInitArray extends Action {
}
@Override
public void translate(Stack<TreeItem> stack, ConstantPool constants, List<TreeItem> output) {
public void translate(Stack<TreeItem> stack, ConstantPool constants, List<TreeItem> output, java.util.HashMap<Integer,String> regNames) {
long numArgs = popLong(stack);
List<TreeItem> args = new ArrayList<TreeItem>();
for (int l = 0; l < numArgs; l++) {