[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/+/2016590
Reviewed-by: Jakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Emanuel Ziegler <ecmziegler@chromium.org>
Cr-Commit-Position: refs/heads/master@{#65967}
This commit is contained in:
Emanuel Ziegler 2020-01-23 12:22:11 +01:00 committed by Commit Bot
parent 1920e6c92f
commit 2dcdd51268

View File

@ -103,11 +103,14 @@ bool InterpretWasmModuleForTesting(Isolate* isolate,
break;
case kWasmAnyRef:
case kWasmFuncRef:
case kWasmNullRef:
case kWasmExnRef:
arguments[i] =
WasmValue(Handle<Object>::cast(isolate->factory()->null_value()));
break;
default:
case kWasmStmt:
case kWasmBottom:
case kWasmS128:
UNREACHABLE();
}
}