diff --git a/common.gypi b/common.gypi index d0edf400f1fd2f..4f193614295284 100644 --- a/common.gypi +++ b/common.gypi @@ -38,7 +38,7 @@ # Reset this number to 0 on major V8 upgrades. # Increment by one for each non-official patch applied to deps/v8. - 'v8_embedder_string': '-node.3', + 'v8_embedder_string': '-node.4', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/tools/gen-postmortem-metadata.py b/deps/v8/tools/gen-postmortem-metadata.py index 2323e8ab9c88b8..db4c6c23658096 100644 --- a/deps/v8/tools/gen-postmortem-metadata.py +++ b/deps/v8/tools/gen-postmortem-metadata.py @@ -85,6 +85,10 @@ { 'name': 'SmiTagMask', 'value': 'kSmiTagMask' }, { 'name': 'SmiValueShift', 'value': 'kSmiTagSize' }, { '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': 'OddballTrue', 'value': 'Oddball::kTrue' }, @@ -161,6 +165,8 @@ 'value': 'Map::NumberOfOwnDescriptorsBits::kMask' }, { 'name': 'bit_field3_number_of_own_descriptors_shift', 'value': 'Map::NumberOfOwnDescriptorsBits::kShift' }, + { 'name': 'class_Map__instance_descriptors_offset', + 'value': 'Map::kInstanceDescriptorsOffset' }, { 'name': 'off_fp_context_or_frame_type', 'value': 'CommonFrameConstants::kContextOrFrameTypeOffset'}, @@ -223,6 +229,15 @@ { 'name': 'class_SharedFunctionInfo__function_data__Object', '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 @@ 'JSArrayBuffer, byte_length, size_t, kByteLengthOffset', 'JSArrayBufferView, byte_length, size_t, kByteLengthOffset', 'JSArrayBufferView, byte_offset, size_t, kByteOffsetOffset', + 'JSTypedArray, external_pointer, uintptr_t, kExternalPointerOffset', 'JSTypedArray, length, Object, kLengthOffset', 'Map, instance_size_in_words, char, kInstanceSizeInWordsOffset', 'Map, inobject_properties_start_or_constructor_function_index, char, kInObjectPropertiesStartOrConstructorFunctionIndexOffset',