diff options
author | Ali Ijaz Sheikh <ofrobots@google.com> | 2015-11-30 21:22:40 -0800 |
---|---|---|
committer | Ali Ijaz Sheikh <ofrobots@google.com> | 2015-12-04 00:06:01 -0800 |
commit | 8a43a3d7619fde59f0d1f2fad05d8ae7d1732b02 (patch) | |
tree | 8698af91526d0eac90840dcba1e5b565160105c4 /deps/v8/tools/gen-postmortem-metadata.py | |
parent | 8a2acd4cc9807510786b4b6f7ad3a947aeb3a14c (diff) | |
download | node-new-8a43a3d7619fde59f0d1f2fad05d8ae7d1732b02.tar.gz |
deps: upgrade V8 to 4.7.80.24
Pick up the latest branch head for V8 4.7:
https://github.com/v8/v8/commit/be169f8df059040e6a53ec1dd4579d8bca2167b5
Full change history for the 4.7 branch:
https://chromium.googlesource.com/v8/v8.git/+log/branch-heads/4.7
V8 blog post about what is new on V8 4.7:
http://v8project.blogspot.de/2015/10/v8-release-47.html
PR-URL: https://github.com/nodejs/node/pull/4106
Reviewed-By: bnoordhuis - Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: targos - Michaƫl Zasso <mic.besace@gmail.com>
Reviewed-By: rvagg - Rod Vagg <rod@vagg.org>
Diffstat (limited to 'deps/v8/tools/gen-postmortem-metadata.py')
-rw-r--r-- | deps/v8/tools/gen-postmortem-metadata.py | 72 |
1 files changed, 3 insertions, 69 deletions
diff --git a/deps/v8/tools/gen-postmortem-metadata.py b/deps/v8/tools/gen-postmortem-metadata.py index e3c9dbe076..1b6a6bbcf0 100644 --- a/deps/v8/tools/gen-postmortem-metadata.py +++ b/deps/v8/tools/gen-postmortem-metadata.py @@ -98,30 +98,6 @@ consts_misc = [ 'value': 'PropertyDetails::FieldIndexField::kMask' }, { 'name': 'prop_index_shift', 'value': 'PropertyDetails::FieldIndexField::kShift' }, - { 'name': 'prop_representation_mask', - 'value': 'PropertyDetails::RepresentationField::kMask' }, - { 'name': 'prop_representation_shift', - 'value': 'PropertyDetails::RepresentationField::kShift' }, - { 'name': 'prop_representation_integer8', - 'value': 'Representation::Kind::kInteger8' }, - { 'name': 'prop_representation_uinteger8', - 'value': 'Representation::Kind::kUInteger8' }, - { 'name': 'prop_representation_integer16', - 'value': 'Representation::Kind::kInteger16' }, - { 'name': 'prop_representation_uinteger16', - 'value': 'Representation::Kind::kUInteger16' }, - { 'name': 'prop_representation_smi', - 'value': 'Representation::Kind::kSmi' }, - { 'name': 'prop_representation_integer32', - 'value': 'Representation::Kind::kInteger32' }, - { 'name': 'prop_representation_double', - 'value': 'Representation::Kind::kDouble' }, - { 'name': 'prop_representation_heapobject', - 'value': 'Representation::Kind::kHeapObject' }, - { 'name': 'prop_representation_tagged', - 'value': 'Representation::Kind::kTagged' }, - { 'name': 'prop_representation_external', - 'value': 'Representation::Kind::kExternal' }, { 'name': 'prop_desc_key', 'value': 'DescriptorArray::kDescriptorKey' }, @@ -145,10 +121,6 @@ consts_misc = [ 'value': 'Map::ElementsKindBits::kShift' }, { 'name': 'bit_field3_dictionary_map_shift', 'value': 'Map::DictionaryMap::kShift' }, - { 'name': 'bit_field3_number_of_own_descriptors_mask', - 'value': 'Map::NumberOfOwnDescriptorsBits::kMask' }, - { 'name': 'bit_field3_number_of_own_descriptors_shift', - 'value': 'Map::NumberOfOwnDescriptorsBits::kShift' }, { 'name': 'off_fp_context', 'value': 'StandardFrameConstants::kContextOffset' }, @@ -167,37 +139,20 @@ consts_misc = [ 'value': 'ScopeInfo::kStackLocalCount' }, { 'name': 'scopeinfo_idx_ncontextlocals', 'value': 'ScopeInfo::kContextLocalCount' }, - { 'name': 'scopeinfo_idx_ncontextglobals', - 'value': 'ScopeInfo::kContextGlobalCount' }, { 'name': 'scopeinfo_idx_first_vars', 'value': 'ScopeInfo::kVariablePartIndex' }, - - { 'name': 'sharedfunctioninfo_start_position_mask', - 'value': 'SharedFunctionInfo::kStartPositionMask' }, - { 'name': 'sharedfunctioninfo_start_position_shift', - 'value': 'SharedFunctionInfo::kStartPositionShift' }, - - { 'name': 'jsarray_buffer_was_neutered_mask', - 'value': 'JSArrayBuffer::WasNeutered::kMask' }, - { 'name': 'jsarray_buffer_was_neutered_shift', - 'value': 'JSArrayBuffer::WasNeutered::kShift' }, ]; # # The following useful fields are missing accessors, so we define fake ones. # extras_accessors = [ - 'JSFunction, context, Context, kContextOffset', - 'Context, closure_index, int, CLOSURE_INDEX', - 'Context, global_object_index, int, GLOBAL_OBJECT_INDEX', - 'Context, previous_index, int, PREVIOUS_INDEX', - 'Context, min_context_slots, int, MIN_CONTEXT_SLOTS', 'HeapObject, map, Map, kMapOffset', 'JSObject, elements, Object, kElementsOffset', 'FixedArray, data, uintptr_t, kHeaderSize', - 'JSTypedArray, length, Object, kLengthOffset', 'JSArrayBuffer, backing_store, Object, kBackingStoreOffset', 'JSArrayBufferView, byte_offset, Object, kByteOffsetOffset', + 'JSTypedArray, length, Object, kLengthOffset', 'Map, instance_attributes, int, kInstanceAttributesOffset', 'Map, inobject_properties_or_constructor_function_index, int, kInObjectPropertiesOrConstructorFunctionIndexOffset', 'Map, instance_size, int, kInstanceSizeOffset', @@ -207,7 +162,6 @@ extras_accessors = [ 'Map, prototype, Object, kPrototypeOffset', 'NameDictionaryShape, prefix_size, int, kPrefixSize', 'NameDictionaryShape, entry_size, int, kEntrySize', - 'NameDictionary, prefix_start_index, int, kPrefixStartIndex', 'SeededNumberDictionaryShape, prefix_size, int, kPrefixSize', 'UnseededNumberDictionaryShape, prefix_size, int, kPrefixSize', 'NumberDictionaryShape, entry_size, int, kEntrySize', @@ -219,7 +173,6 @@ extras_accessors = [ 'SeqOneByteString, chars, char, kHeaderSize', 'SeqTwoByteString, chars, char, kHeaderSize', 'SharedFunctionInfo, code, Code, kCodeOffset', - 'SharedFunctionInfo, scope_info, ScopeInfo, kScopeInfoOffset', 'SlicedString, parent, String, kParentOffset', 'Code, instruction_start, uintptr_t, kHeaderSize', 'Code, instruction_size, int, kInstructionSizeOffset', @@ -274,20 +227,6 @@ footer = ''' ''' # -# Get the base class -# -def get_base_class(klass): - if (klass == 'Object'): - return klass; - - if (not (klass in klasses)): - return None; - - k = klasses[klass]; - - return get_base_class(k['parent']); - -# # Loads class hierarchy and type information from "objects.h". # def load_objects(): @@ -325,14 +264,12 @@ def load_objects(): typestr += line; continue; - match = re.match('class (\w[^:]*)(: public (\w[^{]*))?\s*{\s*', + match = re.match('class (\w[^\s:]*)(: public (\w[^\s{]*))?\s*{', line); if (match): - klass = match.group(1).rstrip().lstrip(); + klass = match.group(1); pklass = match.group(3); - if (pklass): - pklass = pklass.rstrip().lstrip(); klasses[klass] = { 'parent': pklass }; # @@ -583,9 +520,6 @@ def emit_config(): keys.sort(); for klassname in keys: pklass = klasses[klassname]['parent']; - bklass = get_base_class(klassname); - if (bklass != 'Object'): - continue; if (pklass == None): continue; |