From 6ed791c665de2c1838f6080a1b377b0008cf535b Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Fri, 28 Apr 2017 13:39:55 +0200 Subject: [PATCH] deps: cherry-pick bfae9db from upstream v8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Original commit message: Update postmortem metadata generator. Add PropertyDetails::AttributesField + PropertyDetails::LocationField. Review-Url: https://codereview.chromium.org/2842843004 Cr-Commit-Position: refs/heads/master@{#44889} PR-URL: https://github.com/nodejs/node/pull/12722 Refs: https://github.com/nodejs/llnode/issues/81 Reviewed-By: James M Snell Reviewed-By: Michael Dawson Reviewed-By: Michaƫl Zasso --- deps/v8/tools/gen-postmortem-metadata.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/deps/v8/tools/gen-postmortem-metadata.py b/deps/v8/tools/gen-postmortem-metadata.py index 88571345251eaa..8f8d8a13bc8b42 100644 --- a/deps/v8/tools/gen-postmortem-metadata.py +++ b/deps/v8/tools/gen-postmortem-metadata.py @@ -99,6 +99,22 @@ 'value': 'kAccessor' }, { 'name': 'prop_kind_mask', 'value': 'PropertyDetails::KindField::kMask' }, + { 'name': 'prop_location_Descriptor', + 'value': 'kDescriptor' }, + { 'name': 'prop_location_Field', + 'value': 'kField' }, + { 'name': 'prop_location_mask', + 'value': 'PropertyDetails::LocationField::kMask' }, + { 'name': 'prop_location_shift', + 'value': 'PropertyDetails::LocationField::kShift' }, + { 'name': 'prop_attributes_NONE', 'value': 'NONE' }, + { 'name': 'prop_attributes_READ_ONLY', 'value': 'READ_ONLY' }, + { 'name': 'prop_attributes_DONT_ENUM', 'value': 'DONT_ENUM' }, + { 'name': 'prop_attributes_DONT_DELETE', 'value': 'DONT_DELETE' }, + { 'name': 'prop_attributes_mask', + 'value': 'PropertyDetails::AttributesField::kMask' }, + { 'name': 'prop_attributes_shift', + 'value': 'PropertyDetails::AttributesField::kShift' }, { 'name': 'prop_index_mask', 'value': 'PropertyDetails::FieldIndexField::kMask' }, { 'name': 'prop_index_shift',