mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-26 04:26:32 +00:00
return in try
This commit is contained in:
@@ -33,6 +33,16 @@ public class FinalProcessLocalData {
|
||||
public final List<Loop> loops;
|
||||
public Map<Integer, Set<Integer>> registerUsage;
|
||||
|
||||
public Set<Integer> getRegisterUsage(int regIndex) {
|
||||
if (registerUsage == null) {
|
||||
return new HashSet<>();
|
||||
}
|
||||
if (!registerUsage.containsKey(regIndex)) {
|
||||
return new HashSet<>();
|
||||
}
|
||||
return registerUsage.get(regIndex);
|
||||
}
|
||||
|
||||
public FinalProcessLocalData(List<Loop> loops) {
|
||||
temporaryRegisters = new HashSet<>();
|
||||
registerUsage = new HashMap<>();
|
||||
|
||||
Reference in New Issue
Block a user