Skip to content

Commit

Permalink
XS: Compartment globalLexicals
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Soquet committed Jan 2, 2022
1 parent b815e62 commit 3b7cfd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion xs/sources/xsDebug.c
Original file line number Diff line number Diff line change
Expand Up @@ -1714,7 +1714,8 @@ void fxListGlobal(txMachine* the)
fxEchoProperty(the, slot, &aList, C_NULL, -1, C_NULL);
slot = slot->next;
}
slot = mxRealmClosures(realm)->value.reference->next->next;
global = mxRealmClosures(realm)->value.reference;
slot = global->next;
while (slot) {
fxEchoProperty(the, slot, &aList, C_NULL, -1, C_NULL);
slot = slot->next;
Expand Down
1 change: 0 additions & 1 deletion xs/sources/xsModule.c
Original file line number Diff line number Diff line change
Expand Up @@ -1943,7 +1943,6 @@ void fx_Compartment(txMachine* the)
}
mxPop(); // property
mxPop(); // at
mxPop(); // source
}
mxPop(); // globalLexicals

Expand Down

0 comments on commit 3b7cfd2

Please sign in to comment.