Update BitField3 type in gen-postmortem-metadata.py
authorjulien.gilli <julien.gilli@joyent.com>
Fri, 18 Sep 2015 22:41:04 +0000 (15:41 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 18 Sep 2015 22:41:22 +0000 (22:41 +0000)
Since https://codereview.chromium.org/272163002, BitField3 is a raw
uint32 field, and not a SMI anymore.

Update tools/gen-postmortem-metadata.py so that post-mortem tools can
work with versions of V8 that shipped after that change.

This change was merged in github.com/joyent/node right before node
v0.12.0 was released.

R=danno@chromium.org

TEST=mdb_v8, a post-mortem debugging tool running on SmartOS,  has been
using this change since Node.js v0.12.0 was released

BUG=

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

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

tools/gen-postmortem-metadata.py

index 29416cebd2be5e9b26812017dae468be0c1dd921..9a4c9f503f656d4d15ec2379b5121241e9953aa8 100644 (file)
@@ -146,7 +146,7 @@ extras_accessors = [
     'Map, instance_size, int, kInstanceSizeOffset',
     'Map, bit_field, char, kBitFieldOffset',
     'Map, bit_field2, char, kBitField2Offset',
-    'Map, bit_field3, SMI, kBitField3Offset',
+    'Map, bit_field3, int, kBitField3Offset',
     'Map, prototype, Object, kPrototypeOffset',
     'NameDictionaryShape, prefix_size, int, kPrefixSize',
     'NameDictionaryShape, entry_size, int, kEntrySize',