mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-25 19:00:47 +00:00
AS1/2 Fixed DefineFunction2 register names (this, super,...)
This commit is contained in:
@@ -189,6 +189,13 @@ public class ActionDefineFunction extends Action implements GraphSourceItemConta
|
||||
public void translate(Stack<GraphTargetItem> stack, List<GraphTargetItem> output, HashMap<Integer, String> regNames, HashMap<String, GraphTargetItem> variables, HashMap<String, GraphTargetItem> functions) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public HashMap<Integer, String> getRegNames() {
|
||||
return new HashMap<Integer, String>();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public void translateContainer(List<List<GraphTargetItem>> content, Stack<GraphTargetItem> stack, List<GraphTargetItem> output, HashMap<Integer, String> regNames, HashMap<String, GraphTargetItem> variables, HashMap<String, GraphTargetItem> functions) {
|
||||
FunctionTreeItem fti = new FunctionTreeItem(this, functionName, paramNames, content.get(0), constantPool, 1);
|
||||
|
||||
Reference in New Issue
Block a user