frame layout refactor
This commit is contained in:
1 parent
15ad640202
commit
dd0d340eba
8 files changed
+147
-73
No files matched your search
+2
-1
@@ -274,7 +274,8 @@ struct bytecode* block_compile(struct symbol_table* syms, block b) {
|
||||
}
|
||||
free(stack_height);
|
||||
bc->constants = constant_pool;
|
||||
bc->framesize = maxvar + 2; // FIXME: frames of size zero?
|
||||
bc->nlocals = maxvar + 2; // FIXME: frames of size zero?
|
||||
bc->nclosures = 0;
|
||||
bc->globals = syms;
|
||||
return bc;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user