Commit 30c1199f authored by Ross McIlroy's avatar Ross McIlroy Committed by Commit Bot

[Cleanup] Delete deprecated RegisterDefaultTrapHandler API.

BUG=v8:8562

Change-Id: I66b729aeb306ecfbf92ee6e992c3abb6f854949c
Reviewed-on: https://chromium-review.googlesource.com/c/1449733Reviewed-by: 's avatarUlan Degenbaev <ulan@chromium.org>
Commit-Queue: Ross McIlroy <rmcilroy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#59290}
parent d0a754e0
......@@ -8671,13 +8671,6 @@ class V8_EXPORT V8 {
void* context));
#endif // V8_OS_POSIX
/**
* Enable the default signal handler rather than using one provided by the
* embedder.
*/
V8_DEPRECATED("Use EnableWebAssemblyTrapHandler",
static bool RegisterDefaultSignalHandler());
/**
* Activate trap-based bounds checking for WebAssembly.
*
......
......@@ -5823,10 +5823,6 @@ bool TryHandleWebAssemblyTrapWindows(EXCEPTION_POINTERS* exception) {
}
#endif
bool V8::RegisterDefaultSignalHandler() {
return v8::internal::trap_handler::RegisterDefaultTrapHandler();
}
bool V8::EnableWebAssemblyTrapHandler(bool use_v8_signal_handler) {
return v8::internal::trap_handler::EnableTrapHandler(use_v8_signal_handler);
}
......
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