Fixed recent Decompiler location regressions

This commit is contained in:
dragonmacher
2025-05-06 18:47:17 -04:00
parent 915760bcae
commit af7e572632
3 changed files with 14 additions and 0 deletions
@@ -37,6 +37,11 @@ public class FunctionNameDecompilerLocation extends FunctionNameFieldLocation
this.info = info;
}
public FunctionNameDecompilerLocation() {
// for restoring from xml
info = new DecompilerLocationInfo();
}
@Override
public Address getFunctionEntryPoint() {
return info.getFunctionEntryPoint();
@@ -38,6 +38,11 @@ public class VariableDecompilerLocation extends VariableLocFieldLocation
this.info = info;
}
public VariableDecompilerLocation() {
// for restoring from xml
info = new DecompilerLocationInfo();
}
@Override
public Address getFunctionEntryPoint() {
return info.getFunctionEntryPoint();