From 31ce2c1b92855726a5d9ac035e41ef430379e40e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Wed, 6 Sep 2017 17:38:15 +0200 Subject: [PATCH] deps: add postmortem metadata for V8 TurboFan Refs: https://github.com/nodejs/llnode/pull/130 Refs: https://chromium-review.googlesource.com/c/v8/v8/+/650746 PR-URL: https://github.com/nodejs/node/pull/14730 Reviewed-By: Ben Noordhuis Reviewed-By: Ali Ijaz Sheikh Reviewed-By: Colin Ihrig Reviewed-By: Matteo Collina --- deps/v8/tools/gen-postmortem-metadata.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/deps/v8/tools/gen-postmortem-metadata.py b/deps/v8/tools/gen-postmortem-metadata.py index f0e3c7492e..22f0afbef3 100644 --- a/deps/v8/tools/gen-postmortem-metadata.py +++ b/deps/v8/tools/gen-postmortem-metadata.py @@ -248,6 +248,7 @@ extras_accessors = [ 'JSObject, elements, Object, kElementsOffset', 'JSObject, internal_fields, uintptr_t, kHeaderSize', 'FixedArray, data, uintptr_t, kHeaderSize', + 'FixedTypedArrayBase, external_pointer, Object, kExternalPointerOffset', 'JSArrayBuffer, backing_store, Object, kBackingStoreOffset', 'JSArrayBufferView, byte_offset, Object, kByteOffsetOffset', 'JSTypedArray, length, Object, kLengthOffset', @@ -267,6 +268,12 @@ extras_accessors = [ 'SeqTwoByteString, chars, char, kHeaderSize', 'SharedFunctionInfo, code, Code, kCodeOffset', 'SharedFunctionInfo, scope_info, ScopeInfo, kScopeInfoOffset', + 'SharedFunctionInfo, function_token_position, int, kFunctionTokenPositionOffset', + 'SharedFunctionInfo, start_position_and_type, int, kStartPositionAndTypeOffset', + 'SharedFunctionInfo, end_position, int, kEndPositionOffset', + 'SharedFunctionInfo, internal_formal_parameter_count, int, kFormalParameterCountOffset', + 'SharedFunctionInfo, compiler_hints, int, kCompilerHintsOffset', + 'SharedFunctionInfo, length, int, kLengthOffset', 'SlicedString, parent, String, kParentOffset', 'Code, instruction_start, uintptr_t, kHeaderSize', 'Code, instruction_size, int, kInstructionSizeOffset',