Reviewers: Mads Ager, Søren Gjesse,
Message:
Guys,
may you have a look?
Description:
We cannot assert that v8 is running in fatal error callback.
BUG=v8:1111
Please review this at http://codereview.chromium.org/6450005/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M src/api.cc
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);
}
--
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev