summaryrefslogtreecommitdiff
path: root/deps/v8/src/checks.cc
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/checks.cc')
-rw-r--r--deps/v8/src/checks.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/checks.cc b/deps/v8/src/checks.cc
index 3c3d940be7..320fd6b5ea 100644
--- a/deps/v8/src/checks.cc
+++ b/deps/v8/src/checks.cc
@@ -30,8 +30,8 @@
#include "v8.h"
#include "platform.h"
-#include "top.h"
+// TODO(isolates): is it necessary to lift this?
static int fatal_error_handler_nesting_depth = 0;
// Contains protection against recursive calls (faults while handling faults).
@@ -52,7 +52,7 @@ extern "C" void V8_Fatal(const char* file, int line, const char* format, ...) {
if (fatal_error_handler_nesting_depth < 3) {
if (i::FLAG_stack_trace_on_abort) {
// Call this one twice on double fault
- i::Top::PrintStack();
+ i::Isolate::Current()->PrintStack();
}
}
i::OS::Abort();