Commit 2dcdd512 authored by Emanuel Ziegler's avatar Emanuel Ziegler Committed by Commit Bot

[wasm] Add missing type enum in switch statement and remove default

R=jkummerow@chromium.org

Bug: chromium:1043036
Change-Id: Idf44e21254a5d7131c4ec6e4c22fa4d4b25f617b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2016590Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Emanuel Ziegler <ecmziegler@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65967}
parent 1920e6c9
...@@ -103,11 +103,14 @@ bool InterpretWasmModuleForTesting(Isolate* isolate, ...@@ -103,11 +103,14 @@ bool InterpretWasmModuleForTesting(Isolate* isolate,
break; break;
case kWasmAnyRef: case kWasmAnyRef:
case kWasmFuncRef: case kWasmFuncRef:
case kWasmNullRef:
case kWasmExnRef: case kWasmExnRef:
arguments[i] = arguments[i] =
WasmValue(Handle<Object>::cast(isolate->factory()->null_value())); WasmValue(Handle<Object>::cast(isolate->factory()->null_value()));
break; break;
default: case kWasmStmt:
case kWasmBottom:
case kWasmS128:
UNREACHABLE(); UNREACHABLE();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment