Skip to content

Commit ef09254

Browse files
thibaudmichaudguybedford
authored andcommitted
deps: V8: backport 63b8849d73ae
Original commit message: [wasm][exnref] Reject non-nullable exnref in JS import/export [email protected] Change-Id: I0ba2deb1a9671d87e76fea7bfe76df9eee56442a Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5920338 Commit-Queue: Thibaud Michaud <[email protected]> Reviewed-by: Jakob Kummerow <[email protected]> Cr-Commit-Position: refs/heads/main@{#96489} Refs: v8/v8@63b8849d73ae
1 parent b8c6560 commit ef09254

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

common.gypi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838

3939
# Reset this number to 0 on major V8 upgrades.
4040
# Increment by one for each non-official patch applied to deps/v8.
41-
'v8_embedder_string': '-node.48',
41+
'v8_embedder_string': '-node.49',
4242

4343
##### V8 defaults for Node.js #####
4444

deps/v8/src/wasm/wasm-opcodes.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,13 @@ bool IsJSCompatibleSignature(const FunctionSig* sig) {
3333
// Rtts are internal-only. They should never be part of a signature.
3434
DCHECK(!type.is_rtt());
3535
if (type == kWasmS128) return false;
36-
if (type == kWasmExnRef) return false;
3736
if (type.is_object_reference()) {
3837
switch (type.heap_representation_non_shared()) {
3938
case HeapType::kStringViewWtf8:
4039
case HeapType::kStringViewWtf16:
4140
case HeapType::kStringViewIter:
41+
case HeapType::kExn:
42+
case HeapType::kNoExn:
4243
return false;
4344
default:
4445
break;

0 commit comments

Comments
 (0)