@@ -27,7 +27,7 @@ const DEFAULT_VIRTUAL_OBJECT_CACHE_SIZE = 3; // XXX ridiculously small value to
27
27
* @param {* } vatParameters
28
28
* @param {* } gcTools { WeakRef, FinalizationRegistry, waitUntilQuiescent }
29
29
* @param {Console } console
30
- * @returns {* } { vatGlobals, inescapableGlobalLexicals , dispatch, setBuildRootObject }
30
+ * @returns {* } { vatGlobals, inescapableGlobalProperties , dispatch, setBuildRootObject }
31
31
*
32
32
* setBuildRootObject should be called, once, with a function that will
33
33
* create a root object for the new vat The caller provided buildRootObject
@@ -803,7 +803,7 @@ function build(
803
803
makeKind,
804
804
} ) ;
805
805
806
- const inescapableGlobalLexicals = harden ( {
806
+ const inescapableGlobalProperties = harden ( {
807
807
WeakMap : RepairedWeakMap ,
808
808
WeakSet : RepairedWeakSet ,
809
809
} ) ;
@@ -901,7 +901,7 @@ function build(
901
901
// we return 'deadSet' for unit tests
902
902
return harden ( {
903
903
vatGlobals,
904
- inescapableGlobalLexicals ,
904
+ inescapableGlobalProperties ,
905
905
setBuildRootObject,
906
906
dispatch,
907
907
m,
@@ -921,7 +921,7 @@ function build(
921
921
* @param {boolean } enableDisavow
922
922
* @param {* } gcTools { WeakRef, FinalizationRegistry, waitUntilQuiescent }
923
923
* @param {Console } [liveSlotsConsole]
924
- * @returns {* } { vatGlobals, inescapableGlobalLexicals , dispatch, setBuildRootObject }
924
+ * @returns {* } { vatGlobals, inescapableGlobalProperties , dispatch, setBuildRootObject }
925
925
*
926
926
* setBuildRootObject should be called, once, with a function that will
927
927
* create a root object for the new vat The caller provided buildRootObject
@@ -971,14 +971,14 @@ export function makeLiveSlots(
971
971
) ;
972
972
const {
973
973
vatGlobals,
974
- inescapableGlobalLexicals ,
974
+ inescapableGlobalProperties ,
975
975
dispatch,
976
976
setBuildRootObject,
977
977
deadSet,
978
978
} = r ; // omit 'm'
979
979
return harden ( {
980
980
vatGlobals,
981
- inescapableGlobalLexicals ,
981
+ inescapableGlobalProperties ,
982
982
dispatch,
983
983
setBuildRootObject,
984
984
deadSet,
0 commit comments