[wasm][cleanup] Remove serialized signature from tag [v8/v8 : main]

0 views
Skip to first unread message

Thibaud Michaud (Gerrit)

unread,
7:28 AM (15 hours ago) 7:28 AM
to V8 LUCI CQ, Clemens Backes, v8-re...@googlegroups.com, was...@google.com
Attention needed from Clemens Backes

Thibaud Michaud voted and added 1 comment

Votes added by Thibaud Michaud

Commit-Queue+1

1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Thibaud Michaud . resolved

PTAL

Open in Gerrit

Related details

Attention is currently required from:
  • Clemens Backes
Submit Requirements:
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: v8/v8
Gerrit-Branch: main
Gerrit-Change-Id: I4ce31a04ed22d11a13825bea3a8d013c64db6eb3
Gerrit-Change-Number: 7452239
Gerrit-PatchSet: 1
Gerrit-Owner: Thibaud Michaud <thib...@chromium.org>
Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
Gerrit-Reviewer: Thibaud Michaud <thib...@chromium.org>
Gerrit-Attention: Clemens Backes <clem...@chromium.org>
Gerrit-Comment-Date: Mon, 12 Jan 2026 12:28:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Clemens Backes (Gerrit)

unread,
8:02 AM (14 hours ago) 8:02 AM
to Thibaud Michaud, V8 LUCI CQ, v8-re...@googlegroups.com, was...@google.com
Attention needed from Thibaud Michaud

Clemens Backes added 2 comments

Patchset-level comments
Clemens Backes . resolved

Nice! Thanks for following through with this cleanup!

One question though. Maybe I miss something.

File src/wasm/wasm-js.cc
Line 2966, Patchset 1 (Latest): // We need the FunctionSig. If the CanonicalSig contains indexed types, we
Clemens Backes . unresolved

Really? Why can't we use the canonical signature in `GetTypeForFunction`?

Open in Gerrit

Related details

Attention is currently required from:
  • Thibaud Michaud
Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: v8/v8
    Gerrit-Branch: main
    Gerrit-Change-Id: I4ce31a04ed22d11a13825bea3a8d013c64db6eb3
    Gerrit-Change-Number: 7452239
    Gerrit-PatchSet: 1
    Gerrit-Owner: Thibaud Michaud <thib...@chromium.org>
    Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
    Gerrit-Reviewer: Thibaud Michaud <thib...@chromium.org>
    Gerrit-Attention: Thibaud Michaud <thib...@chromium.org>
    Gerrit-Comment-Date: Mon, 12 Jan 2026 13:02:53 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Thibaud Michaud (Gerrit)

    unread,
    8:45 AM (13 hours ago) 8:45 AM
    to V8 LUCI CQ, Clemens Backes, v8-re...@googlegroups.com, was...@google.com
    Attention needed from Clemens Backes

    Thibaud Michaud added 1 comment

    File src/wasm/wasm-js.cc
    Line 2966, Patchset 1 (Latest): // We need the FunctionSig. If the CanonicalSig contains indexed types, we
    Clemens Backes . unresolved

    Really? Why can't we use the canonical signature in `GetTypeForFunction`?

    Thibaud Michaud

    If the signature contains indexed types, the behavior would be different. The function would return something like `(ref null 5)` where 5 would be the canonical index instead of the module-relative index.
    So I did this to preserve the old behavior, which makes sense to me. But I can't find the expected behavior in the spec, I think it has not been rebased on top of WasmGC yet...

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Clemens Backes
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: v8/v8
    Gerrit-Branch: main
    Gerrit-Change-Id: I4ce31a04ed22d11a13825bea3a8d013c64db6eb3
    Gerrit-Change-Number: 7452239
    Gerrit-PatchSet: 1
    Gerrit-Owner: Thibaud Michaud <thib...@chromium.org>
    Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
    Gerrit-Reviewer: Thibaud Michaud <thib...@chromium.org>
    Gerrit-Attention: Clemens Backes <clem...@chromium.org>
    Gerrit-Comment-Date: Mon, 12 Jan 2026 13:45:54 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Clemens Backes <clem...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Clemens Backes (Gerrit)

    unread,
    8:50 AM (13 hours ago) 8:50 AM
    to Thibaud Michaud, V8 LUCI CQ, v8-re...@googlegroups.com, was...@google.com
    Attention needed from Thibaud Michaud

    Clemens Backes voted and added 2 comments

    Votes added by Clemens Backes

    Code-Review+1

    2 comments

    Patchset-level comments
    Clemens Backes . resolved

    Thanks, LGTM!

    File src/wasm/wasm-js.cc
    Line 2966, Patchset 1 (Latest): // We need the FunctionSig. If the CanonicalSig contains indexed types, we
    Clemens Backes . resolved

    Really? Why can't we use the canonical signature in `GetTypeForFunction`?

    Thibaud Michaud

    If the signature contains indexed types, the behavior would be different. The function would return something like `(ref null 5)` where 5 would be the canonical index instead of the module-relative index.
    So I did this to preserve the old behavior, which makes sense to me. But I can't find the expected behavior in the spec, I think it has not been rebased on top of WasmGC yet...

    Clemens Backes

    Oh, I see, this is hidden in `ValueType::name()`.
    Yeah, this is not really spec'ed and we discussed removing the implementation of type reflection already. So for now it shouldn't really matter what we return here, but it also doesn't hurt to be slow and iterate all types in the module.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Thibaud Michaud
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: v8/v8
    Gerrit-Branch: main
    Gerrit-Change-Id: I4ce31a04ed22d11a13825bea3a8d013c64db6eb3
    Gerrit-Change-Number: 7452239
    Gerrit-PatchSet: 1
    Gerrit-Owner: Thibaud Michaud <thib...@chromium.org>
    Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
    Gerrit-Reviewer: Thibaud Michaud <thib...@chromium.org>
    Gerrit-Attention: Thibaud Michaud <thib...@chromium.org>
    Gerrit-Comment-Date: Mon, 12 Jan 2026 13:49:56 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Thibaud Michaud <thib...@chromium.org>
    Comment-In-Reply-To: Clemens Backes <clem...@chromium.org>
    satisfied_requirement
    open
    diffy

    Thibaud Michaud (Gerrit)

    unread,
    8:52 AM (13 hours ago) 8:52 AM
    to Clemens Backes, V8 LUCI CQ, v8-re...@googlegroups.com, was...@google.com

    Thibaud Michaud voted Commit-Queue+2

    Commit-Queue+2
    Open in Gerrit

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: v8/v8
    Gerrit-Branch: main
    Gerrit-Change-Id: I4ce31a04ed22d11a13825bea3a8d013c64db6eb3
    Gerrit-Change-Number: 7452239
    Gerrit-PatchSet: 1
    Gerrit-Owner: Thibaud Michaud <thib...@chromium.org>
    Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
    Gerrit-Reviewer: Thibaud Michaud <thib...@chromium.org>
    Gerrit-Comment-Date: Mon, 12 Jan 2026 13:52:11 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    V8 LUCI CQ (Gerrit)

    unread,
    8:53 AM (13 hours ago) 8:53 AM
    to Thibaud Michaud, Clemens Backes, v8-re...@googlegroups.com, was...@google.com

    V8 LUCI CQ submitted the change

    Change information

    Commit message:
    [wasm][cleanup] Remove serialized signature from tag

    We already store the index of the canonical signature, so use that
    instead.

    R=clem...@chromium.org
    Bug: 473856755
    Change-Id: I4ce31a04ed22d11a13825bea3a8d013c64db6eb3
    Commit-Queue: Thibaud Michaud <thib...@chromium.org>
    Reviewed-by: Clemens Backes <clem...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#104637}
    Files:
    • M src/wasm/baseline/liftoff-compiler.cc
    • M src/wasm/turboshaft-graph-interface.cc
    • M src/wasm/wasm-js.cc
    • M src/wasm/wasm-objects.cc
    • M src/wasm/wasm-objects.h
    • M src/wasm/wasm-objects.tq
    Change size: M
    Delta: 6 files changed, 62 insertions(+), 44 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Clemens Backes
    Open in Gerrit
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: merged
    Gerrit-Project: v8/v8
    Gerrit-Branch: main
    Gerrit-Change-Id: I4ce31a04ed22d11a13825bea3a8d013c64db6eb3
    Gerrit-Change-Number: 7452239
    Gerrit-PatchSet: 2
    Gerrit-Owner: Thibaud Michaud <thib...@chromium.org>
    Gerrit-Reviewer: Clemens Backes <clem...@chromium.org>
    Gerrit-Reviewer: Thibaud Michaud <thib...@chromium.org>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages