|
98 | 98 | 'value': 'PropertyDetails::FieldIndexField::kMask' },
|
99 | 99 | { 'name': 'prop_index_shift',
|
100 | 100 | 'value': 'PropertyDetails::FieldIndexField::kShift' },
|
| 101 | + { 'name': 'prop_representation_mask', |
| 102 | + 'value': 'PropertyDetails::RepresentationField::kMask' }, |
| 103 | + { 'name': 'prop_representation_shift', |
| 104 | + 'value': 'PropertyDetails::RepresentationField::kShift' }, |
| 105 | + { 'name': 'prop_representation_integer8', |
| 106 | + 'value': 'Representation::Kind::kInteger8' }, |
| 107 | + { 'name': 'prop_representation_uinteger8', |
| 108 | + 'value': 'Representation::Kind::kUInteger8' }, |
| 109 | + { 'name': 'prop_representation_integer16', |
| 110 | + 'value': 'Representation::Kind::kInteger16' }, |
| 111 | + { 'name': 'prop_representation_uinteger16', |
| 112 | + 'value': 'Representation::Kind::kUInteger16' }, |
| 113 | + { 'name': 'prop_representation_smi', |
| 114 | + 'value': 'Representation::Kind::kSmi' }, |
| 115 | + { 'name': 'prop_representation_integer32', |
| 116 | + 'value': 'Representation::Kind::kInteger32' }, |
| 117 | + { 'name': 'prop_representation_double', |
| 118 | + 'value': 'Representation::Kind::kDouble' }, |
| 119 | + { 'name': 'prop_representation_heapobject', |
| 120 | + 'value': 'Representation::Kind::kHeapObject' }, |
| 121 | + { 'name': 'prop_representation_tagged', |
| 122 | + 'value': 'Representation::Kind::kTagged' }, |
| 123 | + { 'name': 'prop_representation_external', |
| 124 | + 'value': 'Representation::Kind::kExternal' }, |
101 | 125 |
|
102 | 126 | { 'name': 'prop_desc_key',
|
103 | 127 | 'value': 'DescriptorArray::kDescriptorKey' },
|
|
121 | 145 | 'value': 'Map::ElementsKindBits::kShift' },
|
122 | 146 | { 'name': 'bit_field3_dictionary_map_shift',
|
123 | 147 | 'value': 'Map::DictionaryMap::kShift' },
|
| 148 | + { 'name': 'bit_field3_number_of_own_descriptors_mask', |
| 149 | + 'value': 'Map::NumberOfOwnDescriptorsBits::kMask' }, |
| 150 | + { 'name': 'bit_field3_number_of_own_descriptors_shift', |
| 151 | + 'value': 'Map::NumberOfOwnDescriptorsBits::kShift' }, |
124 | 152 |
|
125 | 153 | { 'name': 'off_fp_context',
|
126 | 154 | 'value': 'StandardFrameConstants::kContextOffset' },
|
|
139 | 167 | 'value': 'ScopeInfo::kStackLocalCount' },
|
140 | 168 | { 'name': 'scopeinfo_idx_ncontextlocals',
|
141 | 169 | 'value': 'ScopeInfo::kContextLocalCount' },
|
| 170 | + { 'name': 'scopeinfo_idx_ncontextglobals', |
| 171 | + 'value': 'ScopeInfo::kContextGlobalCount' }, |
142 | 172 | { 'name': 'scopeinfo_idx_first_vars',
|
143 | 173 | 'value': 'ScopeInfo::kVariablePartIndex' },
|
| 174 | + |
| 175 | + { 'name': 'sharedfunctioninfo_start_position_mask', |
| 176 | + 'value': 'SharedFunctionInfo::kStartPositionMask' }, |
| 177 | + { 'name': 'sharedfunctioninfo_start_position_shift', |
| 178 | + 'value': 'SharedFunctionInfo::kStartPositionShift' }, |
| 179 | + |
| 180 | + { 'name': 'jsarray_buffer_was_neutered_mask', |
| 181 | + 'value': 'JSArrayBuffer::WasNeutered::kMask' }, |
| 182 | + { 'name': 'jsarray_buffer_was_neutered_shift', |
| 183 | + 'value': 'JSArrayBuffer::WasNeutered::kShift' }, |
144 | 184 | ];
|
145 | 185 |
|
146 | 186 | #
|
147 | 187 | # The following useful fields are missing accessors, so we define fake ones.
|
148 | 188 | #
|
149 | 189 | extras_accessors = [
|
| 190 | + 'JSFunction, context, Context, kContextOffset', |
| 191 | + 'Context, closure_index, int, CLOSURE_INDEX', |
| 192 | + 'Context, global_object_index, int, GLOBAL_OBJECT_INDEX', |
| 193 | + 'Context, previous_index, int, PREVIOUS_INDEX', |
| 194 | + 'Context, min_context_slots, int, MIN_CONTEXT_SLOTS', |
150 | 195 | 'HeapObject, map, Map, kMapOffset',
|
151 | 196 | 'JSObject, elements, Object, kElementsOffset',
|
152 | 197 | 'FixedArray, data, uintptr_t, kHeaderSize',
|
|
162 | 207 | 'Map, prototype, Object, kPrototypeOffset',
|
163 | 208 | 'NameDictionaryShape, prefix_size, int, kPrefixSize',
|
164 | 209 | 'NameDictionaryShape, entry_size, int, kEntrySize',
|
| 210 | + 'NameDictionary, prefix_start_index, int, kPrefixStartIndex', |
165 | 211 | 'SeededNumberDictionaryShape, prefix_size, int, kPrefixSize',
|
166 | 212 | 'UnseededNumberDictionaryShape, prefix_size, int, kPrefixSize',
|
167 | 213 | 'NumberDictionaryShape, entry_size, int, kEntrySize',
|
|
173 | 219 | 'SeqOneByteString, chars, char, kHeaderSize',
|
174 | 220 | 'SeqTwoByteString, chars, char, kHeaderSize',
|
175 | 221 | 'SharedFunctionInfo, code, Code, kCodeOffset',
|
| 222 | + 'SharedFunctionInfo, scope_info, ScopeInfo, kScopeInfoOffset', |
176 | 223 | 'SlicedString, parent, String, kParentOffset',
|
177 | 224 | 'Code, instruction_start, uintptr_t, kHeaderSize',
|
178 | 225 | 'Code, instruction_size, int, kInstructionSizeOffset',
|
|
0 commit comments