Skip to content

Commit cc5016e

Browse files
mmarchiniCommit Bot
authored andcommitted
[postmortem] add metadata for the new DescriptorArray layout
[email protected] Ref: nodejs/llnode#255 Change-Id: Icda271123375db5c381fe1d1bba13dcc26f26d7c Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1832311 Reviewed-by: Yang Guo <[email protected]> Commit-Queue: Yang Guo <[email protected]> Cr-Commit-Position: refs/heads/master@{#64169}
1 parent 4da928f commit cc5016e

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

BUILD.gn

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -935,6 +935,8 @@ action("postmortem-metadata") {
935935
"src/objects/code.h",
936936
"src/objects/data-handler.h",
937937
"src/objects/data-handler-inl.h",
938+
"src/objects/descriptor-array.h",
939+
"src/objects/descriptor-array-inl.h",
938940
"src/objects/feedback-cell.h",
939941
"src/objects/feedback-cell-inl.h",
940942
"src/objects/fixed-array-inl.h",

tools/gen-postmortem-metadata.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@
283283
'Code, instruction_start, uintptr_t, kHeaderSize',
284284
'Code, instruction_size, int, kInstructionSizeOffset',
285285
'String, length, int32_t, kLengthOffset',
286+
'DescriptorArray, header_size, uintptr_t, kHeaderSize',
286287
];
287288

288289
#
@@ -293,7 +294,8 @@
293294
expected_classes = [
294295
'ConsString', 'FixedArray', 'HeapNumber', 'JSArray', 'JSFunction',
295296
'JSObject', 'JSRegExp', 'JSPrimitiveWrapper', 'Map', 'Oddball', 'Script',
296-
'SeqOneByteString', 'SharedFunctionInfo', 'ScopeInfo', 'JSPromise'
297+
'SeqOneByteString', 'SharedFunctionInfo', 'ScopeInfo', 'JSPromise',
298+
'DescriptorArray'
297299
];
298300

299301

0 commit comments

Comments
 (0)