Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(40)

Unified Diff: src/api.cc

Issue 2723133003: Revert of [wasm] Initial signal handler (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/DEPS ('k') | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/api.cc
diff --git a/src/api.cc b/src/api.cc
index 4fa32dda6f6f84915de69dcb1562a60aacd52ec2..cfd51a30d220ee4f670f0ffd477fa44ea3abddab 100644
--- a/src/api.cc
+++ b/src/api.cc
@@ -69,7 +69,6 @@
#include "src/snapshot/snapshot.h"
#include "src/startup-data-util.h"
#include "src/tracing/trace-event.h"
-#include "src/trap-handler/trap-handler.h"
#include "src/unicode-inl.h"
#include "src/v8.h"
#include "src/v8threads.h"
@@ -6152,16 +6151,6 @@
return true;
}
-#if V8_OS_LINUX && V8_TARGET_ARCH_X64
-bool V8::TryHandleSignal(int signum, void* info, void* context) {
- return v8::internal::trap_handler::TryHandleSignal(
- signum, static_cast<siginfo_t*>(info), static_cast<ucontext_t*>(context));
-}
-#endif // V8_OS_LINUX
-
-bool V8::RegisterDefaultSignalHandler() {
- return v8::internal::trap_handler::RegisterDefaultSignalHandler();
-}
void v8::V8::SetEntropySource(EntropySource entropy_source) {
base::RandomNumberGenerator::SetEntropySource(entropy_source);
« no previous file with comments | « src/DEPS ('k') | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698