Commit 39dc0be7 authored by cjihrig's avatar cjihrig Committed by Commit Bot

Update postmortem metadata generation script

Update postmortem metadata constants for V8 7.4 in Node.js.

Change-Id: I7d248b345e0326dafb776e144a6a22a381a05fc1
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1546049
Commit-Queue: Yang Guo <yangguo@chromium.org>
Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#63189}
parent bf83f84a
...@@ -85,6 +85,10 @@ consts_misc = [ ...@@ -85,6 +85,10 @@ consts_misc = [
{ 'name': 'SmiTagMask', 'value': 'kSmiTagMask' }, { 'name': 'SmiTagMask', 'value': 'kSmiTagMask' },
{ 'name': 'SmiValueShift', 'value': 'kSmiTagSize' }, { 'name': 'SmiValueShift', 'value': 'kSmiTagSize' },
{ 'name': 'SmiShiftSize', 'value': 'kSmiShiftSize' }, { 'name': 'SmiShiftSize', 'value': 'kSmiShiftSize' },
{ 'name': 'SystemPointerSize', 'value': 'kSystemPointerSize' },
{ 'name': 'SystemPointerSizeLog2', 'value': 'kSystemPointerSizeLog2' },
{ 'name': 'TaggedSize', 'value': 'kTaggedSize' },
{ 'name': 'TaggedSizeLog2', 'value': 'kTaggedSizeLog2' },
{ 'name': 'OddballFalse', 'value': 'Oddball::kFalse' }, { 'name': 'OddballFalse', 'value': 'Oddball::kFalse' },
{ 'name': 'OddballTrue', 'value': 'Oddball::kTrue' }, { 'name': 'OddballTrue', 'value': 'Oddball::kTrue' },
...@@ -161,6 +165,8 @@ consts_misc = [ ...@@ -161,6 +165,8 @@ consts_misc = [
'value': 'Map::NumberOfOwnDescriptorsBits::kMask' }, 'value': 'Map::NumberOfOwnDescriptorsBits::kMask' },
{ 'name': 'bit_field3_number_of_own_descriptors_shift', { 'name': 'bit_field3_number_of_own_descriptors_shift',
'value': 'Map::NumberOfOwnDescriptorsBits::kShift' }, 'value': 'Map::NumberOfOwnDescriptorsBits::kShift' },
{ 'name': 'class_Map__instance_descriptors_offset',
'value': 'Map::kInstanceDescriptorsOffset' },
{ 'name': 'off_fp_context_or_frame_type', { 'name': 'off_fp_context_or_frame_type',
'value': 'CommonFrameConstants::kContextOrFrameTypeOffset'}, 'value': 'CommonFrameConstants::kContextOrFrameTypeOffset'},
...@@ -223,6 +229,15 @@ consts_misc = [ ...@@ -223,6 +229,15 @@ consts_misc = [
{ 'name': 'class_SharedFunctionInfo__function_data__Object', { 'name': 'class_SharedFunctionInfo__function_data__Object',
'value': 'SharedFunctionInfo::kFunctionDataOffset' }, 'value': 'SharedFunctionInfo::kFunctionDataOffset' },
{ 'name': 'class_ConsString__first_offset__int',
'value': 'ConsString::kFirstOffset' },
{ 'name': 'class_ConsString__second_offset__int',
'value': 'ConsString::kSecondOffset' },
{ 'name': 'class_SlicedString__offset_offset__int',
'value': 'SlicedString::kOffsetOffset' },
{ 'name': 'class_ThinString__actual_offset__int',
'value': 'ThinString::kActualOffset' },
]; ];
# #
...@@ -244,6 +259,7 @@ extras_accessors = [ ...@@ -244,6 +259,7 @@ extras_accessors = [
'JSArrayBuffer, byte_length, size_t, kByteLengthOffset', 'JSArrayBuffer, byte_length, size_t, kByteLengthOffset',
'JSArrayBufferView, byte_length, size_t, kByteLengthOffset', 'JSArrayBufferView, byte_length, size_t, kByteLengthOffset',
'JSArrayBufferView, byte_offset, size_t, kByteOffsetOffset', 'JSArrayBufferView, byte_offset, size_t, kByteOffsetOffset',
'JSTypedArray, external_pointer, uintptr_t, kExternalPointerOffset',
'JSTypedArray, length, Object, kLengthOffset', 'JSTypedArray, length, Object, kLengthOffset',
'Map, instance_size_in_words, char, kInstanceSizeInWordsOffset', 'Map, instance_size_in_words, char, kInstanceSizeInWordsOffset',
'Map, inobject_properties_start_or_constructor_function_index, char, kInObjectPropertiesStartOrConstructorFunctionIndexOffset', 'Map, inobject_properties_start_or_constructor_function_index, char, kInObjectPropertiesStartOrConstructorFunctionIndexOffset',
......
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