Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(597)

Side by Side Diff: src/isolate.h

Issue 15298005: Make Runtime_Abort print to stderr instead of stdout. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/heap.cc ('k') | src/isolate.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 706 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 bool ignore_out_of_memory() { 717 bool ignore_out_of_memory() {
718 return thread_local_top_.ignore_out_of_memory_; 718 return thread_local_top_.ignore_out_of_memory_;
719 } 719 }
720 void set_ignore_out_of_memory(bool value) { 720 void set_ignore_out_of_memory(bool value) {
721 thread_local_top_.ignore_out_of_memory_ = value; 721 thread_local_top_.ignore_out_of_memory_ = value;
722 } 722 }
723 723
724 void PrintCurrentStackTrace(FILE* out); 724 void PrintCurrentStackTrace(FILE* out);
725 void PrintStackTrace(FILE* out, char* thread_data); 725 void PrintStackTrace(FILE* out, char* thread_data);
726 void PrintStack(StringStream* accumulator); 726 void PrintStack(StringStream* accumulator);
727 void PrintStack(); 727 void PrintStack(FILE* out);
728 Handle<String> StackTraceString(); 728 Handle<String> StackTraceString();
729 NO_INLINE(void PushStackTraceAndDie(unsigned int magic, 729 NO_INLINE(void PushStackTraceAndDie(unsigned int magic,
730 Object* object, 730 Object* object,
731 Map* map, 731 Map* map,
732 unsigned int magic2)); 732 unsigned int magic2));
733 Handle<JSArray> CaptureCurrentStackTrace( 733 Handle<JSArray> CaptureCurrentStackTrace(
734 int frame_limit, 734 int frame_limit,
735 StackTrace::StackTraceOptions options); 735 StackTrace::StackTraceOptions options);
736 736
737 Handle<JSArray> CaptureSimpleStackTrace(Handle<JSObject> error_object, 737 Handle<JSArray> CaptureSimpleStackTrace(Handle<JSObject> error_object,
(...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after
1489 1489
1490 // Mark the native context with out of memory. 1490 // Mark the native context with out of memory.
1491 inline void Context::mark_out_of_memory() { 1491 inline void Context::mark_out_of_memory() {
1492 native_context()->set_out_of_memory(HEAP->true_value()); 1492 native_context()->set_out_of_memory(HEAP->true_value());
1493 } 1493 }
1494 1494
1495 1495
1496 } } // namespace v8::internal 1496 } } // namespace v8::internal
1497 1497
1498 #endif // V8_ISOLATE_H_ 1498 #endif // V8_ISOLATE_H_
OLDNEW
« no previous file with comments | « src/heap.cc ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698