Skip to content

Commit

Permalink
feat: update to SpiderMonkey 124.0.2
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
JakeChampion committed Apr 11, 2024
1 parent 62fd0ea commit e32632e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions runtime/js-compute-runtime/js-compute-runtime.cpp
Expand Up @@ -134,8 +134,7 @@ bool init_js() {

// TODO: check if we should set a different creation zone.
JS::RealmOptions options;
options.creationOptions().setStreamsEnabled(true).setWeakRefsEnabled(
JS::WeakRefSpecifier::EnabledWithoutCleanupSome);
options.creationOptions().setStreamsEnabled(true);

JS::DisableIncrementalGC(cx);
// JS_SetGCParameter(cx, JSGC_MAX_EMPTY_CHUNK_COUNT, 1);
Expand Down
2 changes: 1 addition & 1 deletion runtime/spidermonkey/gecko-dev
Submodule gecko-dev updated 10556 files

0 comments on commit e32632e

Please sign in to comment.