implements PR-06.3

This commit is contained in:
2026-03-24 13:42:31 +00:00
parent bc98d5a3d4
commit 71d18d27c5
5 changed files with 135 additions and 2 deletions
@@ -85,6 +85,9 @@ public record IRVMProgram(
private boolean coherentPair(
final IRVMInstruction instruction,
final BytecodeEmitter.Operation operation) {
if (instruction.op().internal()) {
return true;
}
final var immediate = instruction.immediate() == null ? 0 : instruction.immediate();
return switch (instruction.op().opcode()) {
case 0x01 -> operation.kind() == BytecodeEmitter.OperationKind.HALT;