| 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 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 709 void PrintStack(); | 709 void PrintStack(); |
| 710 Handle<String> StackTraceString(); | 710 Handle<String> StackTraceString(); |
| 711 NO_INLINE(void PushStackTraceAndDie(unsigned int magic, | 711 NO_INLINE(void PushStackTraceAndDie(unsigned int magic, |
| 712 Object* object, | 712 Object* object, |
| 713 Map* map, | 713 Map* map, |
| 714 unsigned int magic2)); | 714 unsigned int magic2)); |
| 715 Handle<JSArray> CaptureCurrentStackTrace( | 715 Handle<JSArray> CaptureCurrentStackTrace( |
| 716 int frame_limit, | 716 int frame_limit, |
| 717 StackTrace::StackTraceOptions options); | 717 StackTrace::StackTraceOptions options); |
| 718 | 718 |
| 719 void CaptureAndSetCurrentStackTraceFor(Handle<JSObject> error_object); | 719 Handle<JSArray> CaptureSimpleStackTrace(Handle<JSObject> error_object, |
| 720 Handle<Object> caller, |
| 721 int limit); |
| 722 void CaptureAndSetDetailedStackTrace(Handle<JSObject> error_object); |
| 720 | 723 |
| 721 // Returns if the top context may access the given global object. If | 724 // Returns if the top context may access the given global object. If |
| 722 // the result is false, the pending exception is guaranteed to be | 725 // the result is false, the pending exception is guaranteed to be |
| 723 // set. | 726 // set. |
| 724 bool MayNamedAccess(JSObject* receiver, | 727 bool MayNamedAccess(JSObject* receiver, |
| 725 Object* key, | 728 Object* key, |
| 726 v8::AccessType type); | 729 v8::AccessType type); |
| 727 bool MayIndexedAccess(JSObject* receiver, | 730 bool MayIndexedAccess(JSObject* receiver, |
| 728 uint32_t index, | 731 uint32_t index, |
| 729 v8::AccessType type); | 732 v8::AccessType type); |
| (...skipping 715 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1445 | 1448 |
| 1446 // Mark the native context with out of memory. | 1449 // Mark the native context with out of memory. |
| 1447 inline void Context::mark_out_of_memory() { | 1450 inline void Context::mark_out_of_memory() { |
| 1448 native_context()->set_out_of_memory(HEAP->true_value()); | 1451 native_context()->set_out_of_memory(HEAP->true_value()); |
| 1449 } | 1452 } |
| 1450 | 1453 |
| 1451 | 1454 |
| 1452 } } // namespace v8::internal | 1455 } } // namespace v8::internal |
| 1453 | 1456 |
| 1454 #endif // V8_ISOLATE_H_ | 1457 #endif // V8_ISOLATE_H_ |
| OLD | NEW |