fix memory bug occuring in debug mode and attempting to fix another

This commit is contained in:
William Bell
2025-11-11 02:30:14 +00:00
parent 434b0ed99e
commit 608fd86003
7 changed files with 47 additions and 39 deletions

View File

@@ -826,9 +826,9 @@ static inline void load_variable(Translated *translated, RuntimeState *state,
return;
}
RuntimeState init_runtime_state(Translated translated, char *path, ArgonObject * registers[UINT8_MAX]) {
RuntimeState init_runtime_state(Translated translated, char *path) {
RuntimeState runtime = {
registers,
ar_alloc(translated.registerCount * sizeof(ArgonObject *)),
0,
path,
NULL,