refactoring

This commit is contained in:
Jindra Petk
2013-08-20 19:58:02 +02:00
parent 2998b0279a
commit 64f47c92b9
6 changed files with 21 additions and 16 deletions

View File

@@ -16,6 +16,7 @@
*/
package com.jpexs.decompiler.flash.abc.avm2;
import com.jpexs.decompiler.graph.NotCompileTimeItem;
import com.jpexs.decompiler.flash.abc.ABC;
import com.jpexs.decompiler.flash.abc.ABCInputStream;
import com.jpexs.decompiler.flash.abc.CopyOutputStream;
@@ -2340,7 +2341,7 @@ public class AVM2Code implements Serializable {
HashMap<Integer, GraphTargetItem> registers = (HashMap<Integer, GraphTargetItem>) localData.get(2);
GraphTargetItem regVal = registers.get(regId);
if (regVal.isCompileTime()) {
registers.put(regId, new NotCompileTimeAVM2Item(null, regVal));
registers.put(regId, new NotCompileTimeItem(null, regVal));
}
}
}