Commit 2a974583 authored by jochen@chromium.org's avatar jochen@chromium.org

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
parent d20bf182
...@@ -98,8 +98,6 @@ void DumpBacktrace() { ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment