| 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(); | |
| 741 Handle<String> StackTraceString(); | 740 Handle<String> StackTraceString(); |
| 742 NO_INLINE(void PushStackTraceAndDie(unsigned int magic, | 741 NO_INLINE(void PushStackTraceAndDie(unsigned int magic, |
| 743 Object* object, | 742 Object* object, |
| 744 Map* map, | 743 Map* map, |
| 745 unsigned int magic2)); | 744 unsigned int magic2)); |
| 746 Handle<JSArray> CaptureCurrentStackTrace( | 745 Handle<JSArray> CaptureCurrentStackTrace( |
| 747 int frame_limit, | 746 int frame_limit, |
| 748 StackTrace::StackTraceOptions options); | 747 StackTrace::StackTraceOptions options); |
| 749 | 748 |
| 750 Handle<JSArray> CaptureSimpleStackTrace(Handle<JSObject> error_object, | 749 Handle<JSArray> CaptureSimpleStackTrace(Handle<JSObject> error_object, |
| (...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1524 | 1523 |
| 1525 // Mark the native context with out of memory. | 1524 // Mark the native context with out of memory. |
| 1526 inline void Context::mark_out_of_memory() { | 1525 inline void Context::mark_out_of_memory() { |
| 1527 native_context()->set_out_of_memory(HEAP->true_value()); | 1526 native_context()->set_out_of_memory(HEAP->true_value()); |
| 1528 } | 1527 } |
| 1529 | 1528 |
| 1530 | 1529 |
| 1531 } } // namespace v8::internal | 1530 } } // namespace v8::internal |
| 1532 | 1531 |
| 1533 #endif // V8_ISOLATE_H_ | 1532 #endif // V8_ISOLATE_H_ |
| OLD | NEW |