feat(pbs): align typed values and Pad input facade
Test / Build occurred while executing withChecks step.
Intrepid/Prometeu/Studio/pipeline/pr-master There was a failure building this commit
Intrepid/Prometeu/Studio/pipeline/head There was a failure building this commit

This commit is contained in:
2026-10-15 15:48:50 +01:00
parent 603ed01227
commit 13c0ababbb
48 changed files with 1251 additions and 354 deletions
@@ -255,7 +255,12 @@ public record IRBackendExecutableFunction(
case REGISTRY -> {
if (hostCall != null || intrinsicCall != null || calleeCallableId != null || !label.isEmpty() || !targetLabel.isEmpty()) throw new IllegalArgumentException("unexpected Registry instruction metadata");
}
case PUSH_I32 -> {
case BUILTIN_CONST -> {
if (label.isBlank() || expectedRetSlots == null || expectedRetSlots <= 0 || expectedArgSlots != null
|| !targetLabel.isBlank() || !calleeCallableName.isBlank() || calleeCallableId != null || hostCall != null || intrinsicCall != null)
throw new IllegalArgumentException("BUILTIN_CONST requires canonical identity and complete result width");
}
case PUSH_I32, PUSH_I64, PUSH_F64 -> {
if (label.isBlank()) {
throw new IllegalArgumentException("PUSH_I32 requires immediate label payload");
}
@@ -426,6 +431,9 @@ public record IRBackendExecutableFunction(
public enum InstructionKind {
REGISTRY,
PUSH_I32,
PUSH_I64,
PUSH_F64,
BUILTIN_CONST,
PUSH_BOOL,
PUSH_CONST,
GET_LOCAL,