Skip to content

Commit 8aaa186

Browse files
mmarchiniCommit Bot
authored andcommitted
[postmortem] add postmortem metadata for Promises
R=bmeurer@google.com, yangguo@google.com Change-Id: Ica3f6308d92079d6602e16da31fa01488f9cc6bd Reviewed-on: https://chromium-review.googlesource.com/c/1261162 Commit-Queue: Yang Guo <yangguo@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Cr-Commit-Position: refs/heads/master@{#56521}
1 parent a2b3480 commit 8aaa186

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

AUTHORS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Maciej Małecki <me@mmalecki.com>
109109
Marcin Cieślak <saper@marcincieslak.com>
110110
Marcin Wiącek <marcin@mwiacek.com>
111111
Mateusz Czeladka <mateusz.szczap@gmail.com>
112-
Matheus Marchini <matheus@sthima.com.br>
112+
Matheus Marchini <mat@mmarchini.me>
113113
Mathias Bynens <mathias@qiwi.be>
114114
Matt Hanselman <mjhanselman@gmail.com>
115115
Matthew Sporleder <msporleder@gmail.com>

BUILD.gn

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -868,6 +868,8 @@ action("postmortem-metadata") {
868868
"src/objects/js-array-buffer.h",
869869
"src/objects/js-objects-inl.h",
870870
"src/objects/js-objects.h",
871+
"src/objects/js-promise-inl.h",
872+
"src/objects/js-promise.h",
871873
"src/objects/js-regexp-inl.h",
872874
"src/objects/js-regexp.h",
873875
"src/objects/js-regexp-string-iterator-inl.h",

tools/gen-postmortem-metadata.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@
285285
expected_classes = [
286286
'ConsString', 'FixedArray', 'HeapNumber', 'JSArray', 'JSFunction',
287287
'JSObject', 'JSRegExp', 'JSValue', 'Map', 'Oddball', 'Script',
288-
'SeqOneByteString', 'SharedFunctionInfo', 'ScopeInfo'
288+
'SeqOneByteString', 'SharedFunctionInfo', 'ScopeInfo', 'JSPromise'
289289
];
290290

291291

@@ -308,6 +308,7 @@
308308
#include "src/frames-inl.h" /* for architecture-specific frame constants */
309309
#include "src/contexts.h"
310310
#include "src/objects.h"
311+
#include "src/objects/js-promise.h"
311312
#include "src/objects/js-regexp-string-iterator.h"
312313
313314
using namespace v8::internal;

0 commit comments

Comments
 (0)