Index: tools/gen-postmortem-metadata.py |
diff --git a/tools/gen-postmortem-metadata.py b/tools/gen-postmortem-metadata.py |
index 5fd39f3b8541ea806f48eac564ac6a31b8c70134..c883b3f8cbf1159675f6cd20e7f6a99a23038bc6 100644 |
--- a/tools/gen-postmortem-metadata.py |
+++ b/tools/gen-postmortem-metadata.py |
@@ -55,6 +55,8 @@ import sys |
# |
consts_misc = [ |
{ 'name': 'FirstNonstringType', 'value': 'FIRST_NONSTRING_TYPE' }, |
+ { 'name': 'APIObjectType', 'value': 'JS_API_OBJECT_TYPE' }, |
+ { 'name': 'SpecialAPIObjectType', 'value': 'JS_SPECIAL_API_OBJECT_TYPE' }, |
{ 'name': 'IsNotStringMask', 'value': 'kIsNotStringMask' }, |
{ 'name': 'StringTag', 'value': 'kStringTag' }, |
@@ -225,6 +227,7 @@ extras_accessors = [ |
'JSFunction, context, Context, kContextOffset', |
'HeapObject, map, Map, kMapOffset', |
'JSObject, elements, Object, kElementsOffset', |
+ 'JSObject, internal_fields, uintptr_t, kHeaderSize', |
'FixedArray, data, uintptr_t, kHeaderSize', |
'JSArrayBuffer, backing_store, Object, kBackingStoreOffset', |
'JSArrayBufferView, byte_offset, Object, kByteOffsetOffset', |