Commit 15f8f647 authored by Seth Brenith's avatar Seth Brenith Committed by Commit Bot

Fix Torque definition of SmallOrderedNameDictionary

The recently-added verifiers for indexed fields have caught a bug: the
definition of SmallOrderedNameDictionary in Torque contained incorrect
padding for builds without pointer compression.

Bug: v8:11063
Change-Id: I2c3d7f06965ec0598ef4fe56923090aa89bc9df1
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2529013Reviewed-by: 's avatarTobias Tebbi <tebbi@chromium.org>
Commit-Queue: Seth Brenith <seth.brenith@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#71156}
parent cdcf3c31
......@@ -99,10 +99,13 @@ struct NameDictionaryEntry {
extern class SmallOrderedNameDictionary extends SmallOrderedHashTable {
hash: int32;
@if(TAGGED_SIZE_8_BYTES) padding_0: int32;
@ifnot(TAGGED_SIZE_8_BYTES) padding_0: void;
number_of_elements: uint8;
number_of_deleted_elements: uint8;
const number_of_buckets: uint8;
padding: uint8;
@if(TAGGED_SIZE_8_BYTES) padding_1[5]: uint8;
@ifnot(TAGGED_SIZE_8_BYTES) padding_1[1]: uint8;
data_table[Convert<intptr>(number_of_buckets) * kSmallOrderedHashTableLoadFactor]:
NameDictionaryEntry;
hash_table[number_of_buckets]: uint8;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment