Skip to content

Commit 7b158e8

Browse files
thibaudmichaudguybedford
authored andcommitted
deps: V8: cherry-pick cf03d55db2a0
Original commit message: [wasm][exnref] Fix default value for null exnref [email protected] Bug: 332081797 Change-Id: Ied777935946c880a78e2011040a4d9ab19a4ddd2 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5444544 Reviewed-by: Manos Koukoutos <[email protected]> Commit-Queue: Thibaud Michaud <[email protected]> Cr-Commit-Position: refs/heads/main@{#93310} Refs: v8/v8@cf03d55
1 parent 9170061 commit 7b158e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deps/v8/src/wasm/constant-expression-interface.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ WasmValue DefaultValueForType(ValueType type, Isolate* isolate) {
202202
case kRefNull:
203203
return WasmValue(
204204
type == kWasmExternRef || type == kWasmNullExternRef ||
205-
type == kWasmExnRef
205+
type == kWasmExnRef || type == kWasmNullExnRef
206206
? Handle<Object>::cast(isolate->factory()->null_value())
207207
: Handle<Object>::cast(isolate->factory()->wasm_null()),
208208
type);

0 commit comments

Comments
 (0)