implements PLN-0118

This commit is contained in:
2026-07-15 12:13:40 +01:00
parent bde999f1fe
commit e8079b67fb
8 changed files with 185 additions and 14 deletions
@@ -40,7 +40,7 @@ public class LowerToIRVMService {
"IRBackend has no executable functions");
}
validatePbsLifecycleStructure(backend);
validateCommonLifecycleStructure(backend);
final var ordered = orderFunctions(backend);
final var funcIdByCallableId = new HashMap<CallableId, Integer>();
for (var i = 0; i < ordered.size(); i++) {
@@ -499,7 +499,7 @@ public class LowerToIRVMService {
return ReadOnlyList.wrap(ordered);
}
private void validatePbsLifecycleStructure(final IRBackend backend) {
private void validateCommonLifecycleStructure(final IRBackend backend) {
if (backend.getSyntheticFunctions().isEmpty()) {
return;
}