Index: test/cctest/wasm/wasm-run-utils.h |
diff --git a/test/cctest/wasm/wasm-run-utils.h b/test/cctest/wasm/wasm-run-utils.h |
index 13f37738e649ba9d4197eb79e12ea48c9ff3b959..711106e95e47f9877bc0c94ba97f6084c1330f17 100644 |
--- a/test/cctest/wasm/wasm-run-utils.h |
+++ b/test/cctest/wasm/wasm-run-utils.h |
@@ -726,6 +726,9 @@ jmp_buf WasmRunnerBase::jump_buffer; |
TEST(RunWasmInterpreted_##name) { RunWasm_##name(kExecuteInterpreted); } \ |
void RunWasm_##name(WasmExecutionMode execution_mode) |
+#if V8_CC_MSVC |
+#define WASM_EXEC_TEST_WITH_TRAP(name) WASM_EXEC_TEST(name) |
+#else |
#define WASM_EXEC_TEST_WITH_TRAP(name) \ |
void RunWasm_##name(WasmExecutionMode execution_mode); \ |
TEST(RunWasmCompiled_##name) { RunWasm_##name(kExecuteCompiled); } \ |
@@ -738,6 +741,7 @@ jmp_buf WasmRunnerBase::jump_buffer; |
} \ |
TEST(RunWasmInterpreted_##name) { RunWasm_##name(kExecuteInterpreted); } \ |
void RunWasm_##name(WasmExecutionMode execution_mode) |
+#endif |
#define WASM_EXEC_COMPILED_TEST(name) \ |
void RunWasm_##name(WasmExecutionMode execution_mode); \ |