Skip to content

Commit d3cc97b

Browse files
author
Matheus Marchini
committed
deps: backport 804a693 from upstream V8
Original commit message: [postmortem] add JS_ERROR_TYPE and context embedder index * JS_ERROR_TYPE is required for postmortem tools to inspect JSError objects (see nodejs/llnode#215 for a usage example) * The context embedder index is required for postmortem tools to access embedder data stored in the context (see nodejs/llnode#204 for a usage example) R=bmeurer@google.com, yangguo@google.com Change-Id: Ib7c7eb44f6ad327fc71a1d45f510c49377db7a25 Reviewed-on: https://chromium-review.googlesource.com/1138493 Reviewed-by: Benedikt Meurer <bmeurer@chromium.org> Commit-Queue: Benedikt Meurer <bmeurer@chromium.org> Cr-Commit-Position: refs/heads/master@{#54475} Refs: v8/v8@804a693 PR-URL: nodejs#21855 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yang Guo <yangguo@chromium.org>
1 parent ae6e4bd commit d3cc97b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

deps/v8/tools/gen-postmortem-metadata.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,9 @@
212212
'value': 'Context::EXTENSION_INDEX' },
213213
{ 'name': 'context_min_slots',
214214
'value': 'Context::MIN_CONTEXT_SLOTS' },
215+
{ 'name': 'context_idx_embedder_data',
216+
'value': 'Internals::kContextEmbedderDataIndex' },
217+
215218

216219
{ 'name': 'namedictionaryshape_prefix_size',
217220
'value': 'NameDictionaryShape::kPrefixSize' },
@@ -231,7 +234,9 @@
231234
{ 'name': 'unseedednumberdictionaryshape_prefix_size',
232235
'value': 'UnseededNumberDictionaryShape::kPrefixSize' },
233236
{ 'name': 'unseedednumberdictionaryshape_entry_size',
234-
'value': 'UnseededNumberDictionaryShape::kEntrySize' }
237+
'value': 'UnseededNumberDictionaryShape::kEntrySize' },
238+
239+
{ 'name': 'type_JSError__JS_ERROR_TYPE', 'value': 'JS_ERROR_TYPE' },
235240
];
236241

237242
#

0 commit comments

Comments
 (0)