promote register space -> primary space, on space reads

This commit is contained in:
Ryan Fleury
2025-07-23 15:00:05 -07:00
parent 38f769c00d
commit cf9d736ff5
+4
View File
@@ -206,6 +206,10 @@ e_interpret(String8 bytecode)
result.code = E_InterpretationCode_BadMemRead;
goto done;
}
if(e_space_match(selected_space, e_interpret_ctx->reg_space))
{
selected_space = e_interpret_ctx->primary_space;
}
}break;
case RDI_EvalOp_RegRead: