xo-reader2 stack: expand symbol table to store typedefs
+ typedef utest + misc qol policy choices
This commit is contained in:
parent
27e2990f4c
commit
7cc7a277a3
4 changed files with 8 additions and 7 deletions
|
|
@ -49,7 +49,7 @@ namespace xo {
|
|||
if (env) {
|
||||
auto j = ix.j_slot();
|
||||
|
||||
if (j < static_cast<decltype(j)>(env->size())) {
|
||||
if (j < static_cast<decltype(j)>(env->n_vars())) {
|
||||
return (*(env->args_))[j];
|
||||
} else {
|
||||
assert(false);
|
||||
|
|
@ -78,7 +78,7 @@ namespace xo {
|
|||
if (env) {
|
||||
auto j = ix.j_slot();
|
||||
|
||||
if (j < static_cast<decltype(j)>(env->size())) {
|
||||
if (j < static_cast<decltype(j)>(env->n_vars())) {
|
||||
log && log("STUB: need write barrier for GC here");
|
||||
(*(env->args_))[j] = x;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue