implements PR-06.3
This commit is contained in:
+3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user