OLD | NEW |
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 719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
730 return thread_local_top_.ignore_out_of_memory_; | 730 return thread_local_top_.ignore_out_of_memory_; |
731 } | 731 } |
732 void set_ignore_out_of_memory(bool value) { | 732 void set_ignore_out_of_memory(bool value) { |
733 thread_local_top_.ignore_out_of_memory_ = value; | 733 thread_local_top_.ignore_out_of_memory_ = value; |
734 } | 734 } |
735 | 735 |
736 void PrintCurrentStackTrace(FILE* out); | 736 void PrintCurrentStackTrace(FILE* out); |
737 void PrintStackTrace(FILE* out, char* thread_data); | 737 void PrintStackTrace(FILE* out, char* thread_data); |
738 void PrintStack(StringStream* accumulator); | 738 void PrintStack(StringStream* accumulator); |
739 void PrintStack(FILE* out); | 739 void PrintStack(FILE* out); |
| 740 void PrintStack(); |
740 Handle<String> StackTraceString(); | 741 Handle<String> StackTraceString(); |
741 NO_INLINE(void PushStackTraceAndDie(unsigned int magic, | 742 NO_INLINE(void PushStackTraceAndDie(unsigned int magic, |
742 Object* object, | 743 Object* object, |
743 Map* map, | 744 Map* map, |
744 unsigned int magic2)); | 745 unsigned int magic2)); |
745 Handle<JSArray> CaptureCurrentStackTrace( | 746 Handle<JSArray> CaptureCurrentStackTrace( |
746 int frame_limit, | 747 int frame_limit, |
747 StackTrace::StackTraceOptions options); | 748 StackTrace::StackTraceOptions options); |
748 | 749 |
749 Handle<JSArray> CaptureSimpleStackTrace(Handle<JSObject> error_object, | 750 Handle<JSArray> CaptureSimpleStackTrace(Handle<JSObject> error_object, |
(...skipping 762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1512 | 1513 |
1513 // Mark the native context with out of memory. | 1514 // Mark the native context with out of memory. |
1514 inline void Context::mark_out_of_memory() { | 1515 inline void Context::mark_out_of_memory() { |
1515 native_context()->set_out_of_memory(HEAP->true_value()); | 1516 native_context()->set_out_of_memory(HEAP->true_value()); |
1516 } | 1517 } |
1517 | 1518 |
1518 | 1519 |
1519 } } // namespace v8::internal | 1520 } } // namespace v8::internal |
1520 | 1521 |
1521 #endif // V8_ISOLATE_H_ | 1522 #endif // V8_ISOLATE_H_ |
OLD | NEW |