summaryrefslogtreecommitdiff
path: root/deps/v8/src/wasm/wasm-external-refs.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/wasm/wasm-external-refs.h')
-rw-r--r--deps/v8/src/wasm/wasm-external-refs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/deps/v8/src/wasm/wasm-external-refs.h b/deps/v8/src/wasm/wasm-external-refs.h
index d9539ce71a..04337b99ec 100644
--- a/deps/v8/src/wasm/wasm-external-refs.h
+++ b/deps/v8/src/wasm/wasm-external-refs.h
@@ -61,6 +61,12 @@ uint32_t word64_popcnt_wrapper(uint64_t* input);
void float64_pow_wrapper(double* param0, double* param1);
+typedef void (*WasmTrapCallbackForTesting)();
+
+void set_trap_callback_for_testing(WasmTrapCallbackForTesting callback);
+
+void call_trap_callback_for_testing();
+
} // namespace wasm
} // namespace internal
} // namespace v8