mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-01 23:44:35 +00:00
Fixed: #2353 AS1/2 incorrect declaration propagation causing null assignments to registers
This commit is contained in:
@@ -614,7 +614,9 @@ public class ActionGraph extends Graph {
|
||||
ActionScript2ClassDetector detector = new ActionScript2ClassDetector();
|
||||
detector.checkClass(uninitializedClassTraits, ret, ((ActionGraphSource) code).getVariables(), path);
|
||||
}
|
||||
makeDefineRegistersUp(ret, new HashSet<>());
|
||||
ActionLocalData ald = (ActionLocalData) localData;
|
||||
|
||||
makeDefineRegistersUp(ret, new HashSet<>(ald.regNames.keySet()));
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user