Skip to content

Commit e32632e

Browse files
Jake ChampionJakeChampion
authored andcommitted
feat: update to SpiderMonkey 124.0.2
This release includes: - An optimization for functions that only use `arguments.length` to avoid allocating the `arguments` object. - An optimization for `Object.HasOwn` which for small numbers of atoms just unrolls the loop.
1 parent 62fd0ea commit e32632e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

runtime/js-compute-runtime/js-compute-runtime.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,7 @@ bool init_js() {
134134

135135
// TODO: check if we should set a different creation zone.
136136
JS::RealmOptions options;
137-
options.creationOptions().setStreamsEnabled(true).setWeakRefsEnabled(
138-
JS::WeakRefSpecifier::EnabledWithoutCleanupSome);
137+
options.creationOptions().setStreamsEnabled(true);
139138

140139
JS::DisableIncrementalGC(cx);
141140
// JS_SetGCParameter(cx, JSGC_MAX_EMPTY_CHUNK_COUNT, 1);

runtime/spidermonkey/gecko-dev

Submodule gecko-dev updated 10556 files

0 commit comments

Comments
 (0)