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

Unified Diff: src/d8.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/compiler/x64/code-generator-x64.cc ('k') | src/factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/d8.cc
diff --git a/src/d8.cc b/src/d8.cc
index ef249f6dbe281c918f3dece46449c312304e1e0c..31dc8958efeae7277d89182eac43b44fcc5e4d8e 100644
--- a/src/d8.cc
+++ b/src/d8.cc
@@ -36,7 +36,6 @@
#include "src/msan.h"
#include "src/objects-inl.h"
#include "src/snapshot/natives.h"
-#include "src/trap-handler/trap-handler.h"
#include "src/utils.h"
#include "src/v8.h"
@@ -2944,13 +2943,6 @@
create_params.add_histogram_sample_callback = AddHistogramSample;
}
- if (i::trap_handler::UseTrapHandler()) {
- if (!v8::V8::RegisterDefaultSignalHandler()) {
- fprintf(stderr, "Could not register signal handler");
- exit(1);
- }
- }
-
Isolate* isolate = Isolate::New(create_params);
{
Isolate::Scope scope(isolate);
« no previous file with comments | « src/compiler/x64/code-generator-x64.cc ('k') | src/factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698