OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_ISOLATE_H_ | 5 #ifndef V8_ISOLATE_H_ |
6 #define V8_ISOLATE_H_ | 6 #define V8_ISOLATE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <queue> | 9 #include <queue> |
10 #include <set> | 10 #include <set> |
(...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
694 Handle<JSArray> CaptureCurrentStackTrace( | 694 Handle<JSArray> CaptureCurrentStackTrace( |
695 int frame_limit, | 695 int frame_limit, |
696 StackTrace::StackTraceOptions options); | 696 StackTrace::StackTraceOptions options); |
697 Handle<Object> CaptureSimpleStackTrace(Handle<JSReceiver> error_object, | 697 Handle<Object> CaptureSimpleStackTrace(Handle<JSReceiver> error_object, |
698 Handle<Object> caller); | 698 Handle<Object> caller); |
699 MaybeHandle<JSReceiver> CaptureAndSetDetailedStackTrace( | 699 MaybeHandle<JSReceiver> CaptureAndSetDetailedStackTrace( |
700 Handle<JSReceiver> error_object); | 700 Handle<JSReceiver> error_object); |
701 MaybeHandle<JSReceiver> CaptureAndSetSimpleStackTrace( | 701 MaybeHandle<JSReceiver> CaptureAndSetSimpleStackTrace( |
702 Handle<JSReceiver> error_object, Handle<Object> caller); | 702 Handle<JSReceiver> error_object, Handle<Object> caller); |
703 Handle<JSArray> GetDetailedStackTrace(Handle<JSObject> error_object); | 703 Handle<JSArray> GetDetailedStackTrace(Handle<JSObject> error_object); |
704 Handle<JSArray> GetDetailedFromSimpleStackTrace( | |
705 Handle<JSObject> error_object); | |
706 | 704 |
707 // Returns if the given context may access the given global object. If | 705 // Returns if the given context may access the given global object. If |
708 // the result is false, the pending exception is guaranteed to be | 706 // the result is false, the pending exception is guaranteed to be |
709 // set. | 707 // set. |
710 bool MayAccess(Handle<Context> accessing_context, Handle<JSObject> receiver); | 708 bool MayAccess(Handle<Context> accessing_context, Handle<JSObject> receiver); |
711 | 709 |
712 void SetFailedAccessCheckCallback(v8::FailedAccessCheckCallback callback); | 710 void SetFailedAccessCheckCallback(v8::FailedAccessCheckCallback callback); |
713 void ReportFailedAccessCheck(Handle<JSObject> receiver); | 711 void ReportFailedAccessCheck(Handle<JSObject> receiver); |
714 | 712 |
715 // Exception throwing support. The caller should use the result | 713 // Exception throwing support. The caller should use the result |
(...skipping 925 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1641 | 1639 |
1642 EmbeddedVector<char, 128> filename_; | 1640 EmbeddedVector<char, 128> filename_; |
1643 FILE* file_; | 1641 FILE* file_; |
1644 int scope_depth_; | 1642 int scope_depth_; |
1645 }; | 1643 }; |
1646 | 1644 |
1647 } // namespace internal | 1645 } // namespace internal |
1648 } // namespace v8 | 1646 } // namespace v8 |
1649 | 1647 |
1650 #endif // V8_ISOLATE_H_ | 1648 #endif // V8_ISOLATE_H_ |
OLD | NEW |