Skip to content

v8 15.6 - #7570

Open
csjh wants to merge 1 commit into
mainfrom
cormick/v8-15.6
Open

v8 15.6#7570
csjh wants to merge 1 commit into
mainfrom
cormick/v8-15.6

Conversation

@csjh

@csjh csjh commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Bump V8 from 15.5.35.7 to 15.6.75 and rebase our V8 patches onto it. Add 0044, which disables metagen instance types in the Bazel build.

Since V8 15.6, new Function() with no arguments passes isCodeLike = false to the code generation callback, and V8 also reports each object argument before converting it to a string. The empty-function allowance in modifyCodeGenCallback therefore now matches on the exact synthesized source alone. setup-test covers new Function(''), which is now allowed, and an object argument, which stays blocked.

Generated by the V8 nightly (ci/v8-nightly).

@csjh
csjh marked this pull request as ready for review September 29, 2026 20:27
@csjh
csjh requested review from a team as code owners September 29, 2026 20:27
@ask-bonk

ask-bonk Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Since last review: 0 resolved, 0 still open, 0 new.
LGTM!


Reviewed commit: f394d0e1 · github run

Comment thread build/deps/v8.MODULE.bazel
@csjh
csjh force-pushed the cormick/v8-15.6 branch 3 times, most recently from f8a40a5 to 0b3d826 Compare September 29, 2026 21:05
Bump V8 from 15.5.35.7 to 15.6.75 and rebase our V8 patches onto
it. Extend 0043 to also disable metagen instance types in the Bazel
build, since V8 15.6 enables them by default.

Since V8 15.6, new Function() with no arguments passes isCodeLike =
false to the code generation callback, and V8 also reports each
object argument before converting it to a string. The empty-function
allowance in modifyCodeGenCallback therefore now matches on the exact
synthesized source alone. setup-test covers new Function(''), which
is now allowed, and an object argument, which stays blocked.

V8 15.6 deprecates FunctionCallbackInfo::Data() in favor of
DataV2(), which returns a v8::Data. Switch our callbacks to
DataV2().As<v8::Value>(), since clang-tidy treats the deprecation
warning as an error.

Standard API audit: V8 15.6.75 enables no new standard API by
default, so this update disables none and needs no compatibility
flag. V8's shipped feature list (src/flags/feature-flags.h) gains
only homomorphic_ic, an internal IC optimization. Wasm
wide_arithmetic moves from pre-staged to staged and stays off. No
flag default changes to enable a feature, and
src/init/bootstrapper.cc and src/builtins/builtins-definitions.h are
unchanged from 15.5.35.7. The only newly installed function,
Sandbox.getMetadata, belongs to V8's sandbox testing API, which
workerd does not enable. Import text shipped before 15.6 and stays
disabled with --nojs-import-text.

Generated by the V8 nightly (ci/v8-nightly).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant