Index: src/api.cc |
diff --git a/src/api.cc b/src/api.cc |
index c16244038b4b956645bd00214d03dd847d88bbaf..80a53bf158a4c521fe1020456d1765ebb528c7bd 100644 |
--- a/src/api.cc |
+++ b/src/api.cc |
@@ -115,7 +115,9 @@ static FatalErrorCallback exception_behavior = NULL; |
static void DefaultFatalErrorHandler(const char* location, |
const char* message) { |
- ENTER_V8; |
+#ifdef ENABLE_VMSTATE_TRACKING |
+ i::VMState __state__(i::OTHER); |
+#endif |
API_Fatal(location, message); |
} |