Files
Jakob Linke 8c6e60cef2 [objects] Store Name hash fields in a BitFieldGroup
Group Name's hash, array-index, and forwarding-index layouts and
constants in Name::Hash. Use std::atomic<Hash> for raw_hash_field_ so
metagen can extract its layout without V8_TQ_TYPE. Keep aliases on Name
for existing callers.

Support overlapping fields in metagen and Torque. Preserve C++ bit
offsets, check each field against storage bounds, and allow explicit
`at` offsets in authored Torque declarations. Mirror all Name hash
fields in Torque and verify them against C++.

Allow partial bitfield initializers, leaving unwritten bits zero. Reject
overlapping supplied fields, including duplicate names.

Bug: 531344950
Change-Id: Id336d49023f09529bf4225359aa97202f7e60e61
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/8559139
Reviewed-by: Igor Sheludko <ishell@chromium.org>
Auto-Submit: Jakob Linke <jgruber@chromium.org>
Reviewed-by: Leszek Swirski <leszeks@chromium.org>
Commit-Queue: Leszek Swirski <leszeks@chromium.org>
Cr-Commit-Position: refs/heads/main@{#110869}
2026-10-16 11:54:50 -07:00
..
2019-08-12 13:52:52 +00:00