fix gen-postmortem-metadata.py for kInObjectPropertiesOffset
authorofrobots <ofrobots@google.com>
Wed, 2 Sep 2015 07:45:24 +0000 (00:45 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 2 Sep 2015 07:45:40 +0000 (07:45 +0000)
This is causing build breaks for Node.js w/ V8 4.6.

Map::kInObjectPropertiesOffset was been replaced by
kInObjectPropertiesOrConstructorFunctionIndexOffset in
https://codereview.chromium.org/1276533003. This is causing the post-mortem
debug information generation to fail.

R=bmeurer@chromium.org
BUG=

Review URL: https://codereview.chromium.org/1308113007

Cr-Commit-Position: refs/heads/master@{#30536}

tools/gen-postmortem-metadata.py

index d5defa7..29416ce 100644 (file)
@@ -142,7 +142,7 @@ extras_accessors = [
     'JSObject, elements, Object, kElementsOffset',
     'FixedArray, data, uintptr_t, kHeaderSize',
     'Map, instance_attributes, int, kInstanceAttributesOffset',
-    'Map, inobject_properties, int, kInObjectPropertiesOffset',
+    'Map, inobject_properties_of_constructor_function_index_offset, int, kInObjectPropertiesOrConstructorFunctionIndexOffset',
     'Map, instance_size, int, kInstanceSizeOffset',
     'Map, bit_field, char, kBitFieldOffset',
     'Map, bit_field2, char, kBitField2Offset',