Skip to content

Commit ae63db8

Browse files
Matheus MarchiniMylesBorins
Matheus Marchini
authored andcommitted
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) [email protected], [email protected] Change-Id: Ib7c7eb44f6ad327fc71a1d45f510c49377db7a25 Reviewed-on: https://chromium-review.googlesource.com/1138493 Reviewed-by: Benedikt Meurer <[email protected]> Commit-Queue: Benedikt Meurer <[email protected]> Cr-Commit-Position: refs/heads/master@{#54475} Refs: v8/v8@804a693 Backport-PR-URL: #22177 PR-URL: #21855 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Yang Guo <[email protected]>
1 parent 5a3dc37 commit ae63db8

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

deps/v8/include/v8-version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#define V8_MAJOR_VERSION 6
1212
#define V8_MINOR_VERSION 2
1313
#define V8_BUILD_NUMBER 414
14-
#define V8_PATCH_LEVEL 64
14+
#define V8_PATCH_LEVEL 65
1515

1616
// Use 1 for candidates and 0 otherwise.
1717
// (Boolean macro values are not supported by all preprocessors.)

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)