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