Skip to content

Conversation

@tlively
Copy link
Member

@tlively tlively commented Nov 18, 2025

As suggsted in
#81 (comment),
add new instructions for allocations that take descriptor operands.
Validate that all allocations of types with descriptors (and only those
allocations) use the new instructions. Update the overview, interpreter,
and tests.

As a drive-by in the overview, fix outdated references to RTTs.

As suggsted in
#81 (comment),
add new instructions for allocations that take descriptor operands.
Validate that all allocations of types with descriptors (and only those
allocations) use the new instructions. Update the overview, interpreter,
and tests.

As a drive-by in the overview, fix outdated references to RTTs.
@tlively tlively requested a review from rossberg November 18, 2025 18:55
Copy link
Member

@rossberg rossberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

Co-authored-by: Andreas Rossberg <rossberg@mpi-sws.org>
@tlively tlively merged commit da3a290 into main Nov 20, 2025
1 check passed
hubot pushed a commit to v8/v8 that referenced this pull request Nov 20, 2025
and struct.new_default_desc to replace struct.new and
struct.new_default, respectively, for allocating described types.
Validate that struct.new_desc and struct.new_default_desc cannot be used
to allocate non-described types. In the future we will also validate
that they must be used to allocate described types, but to allow for a
graceful update period, that validation is commented out for now.

The corresponding proposal PR is
WebAssembly/custom-descriptors#85.

Bug: 403372470
Change-Id: I399164ac38bdf7cbb930e14ee90bca1bb8c5873e
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/7171646
Commit-Queue: Thomas Lively <tlively@google.com>
Reviewed-by: Matthias Liedtke <mliedtke@chromium.org>
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Cr-Commit-Position: refs/heads/main@{#103858}
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.

3 participants