Remove assertion scopes from V8_Fatal
V8_Fatal no longer tries to print a js stack, so we don't need those scopes BUG=none R=yangguo@chromium.org LOG=n Review URL: https://codereview.chromium.org/239293002 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20777 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
d20bf182dd
commit
2a974583cd
@ -98,8 +98,6 @@ void DumpBacktrace() {
|
|||||||
|
|
||||||
// Contains protection against recursive calls (faults while handling faults).
|
// Contains protection against recursive calls (faults while handling faults).
|
||||||
extern "C" void V8_Fatal(const char* file, int line, const char* format, ...) {
|
extern "C" void V8_Fatal(const char* file, int line, const char* format, ...) {
|
||||||
i::AllowHandleDereference allow_deref;
|
|
||||||
i::AllowDeferredHandleDereference allow_deferred_deref;
|
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
i::OS::PrintError("\n\n#\n# Fatal error in %s, line %d\n# ", file, line);
|
i::OS::PrintError("\n\n#\n# Fatal error in %s, line %d\n# ", file, line);
|
||||||
|
Loading…
Reference in New Issue
Block a user