mirror of
https://github.com/stedolan/jq.git
synced 2024-05-11 05:55:39 +00:00
frame layout refactor
This commit is contained in:
@@ -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