Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index 849ddbf9910a388d2610cc7b9e45ac189a21e0dd..61b3549ddebf8d07db91bf6aafc405381e3e444b 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -8991,7 +8991,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_DebugPrint) { |
RUNTIME_FUNCTION(MaybeObject*, Runtime_DebugTrace) { |
NoHandleAllocation ha(isolate); |
ASSERT(args.length() == 0); |
- isolate->PrintStack(); |
+ isolate->PrintStack(stdout); |
return isolate->heap()->undefined_value(); |
} |
@@ -13099,7 +13099,7 @@ RUNTIME_FUNCTION(MaybeObject*, Runtime_Abort) { |
ASSERT(args.length() == 2); |
OS::PrintError("abort: %s\n", |
reinterpret_cast<char*>(args[0]) + args.smi_at(1)); |
- isolate->PrintStack(); |
+ isolate->PrintStack(stderr); |
OS::Abort(); |
UNREACHABLE(); |
return NULL; |