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 "include/v8-debug.h" | 8 #include "include/v8-debug.h" |
9 #include "src/allocation.h" | 9 #include "src/allocation.h" |
10 #include "src/assert-scope.h" | 10 #include "src/assert-scope.h" |
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
739 Map* map, | 739 Map* map, |
740 unsigned int magic2)); | 740 unsigned int magic2)); |
741 Handle<JSArray> CaptureCurrentStackTrace( | 741 Handle<JSArray> CaptureCurrentStackTrace( |
742 int frame_limit, | 742 int frame_limit, |
743 StackTrace::StackTraceOptions options); | 743 StackTrace::StackTraceOptions options); |
744 Handle<Object> CaptureSimpleStackTrace(Handle<JSObject> error_object, | 744 Handle<Object> CaptureSimpleStackTrace(Handle<JSObject> error_object, |
745 Handle<Object> caller); | 745 Handle<Object> caller); |
746 void CaptureAndSetDetailedStackTrace(Handle<JSObject> error_object); | 746 void CaptureAndSetDetailedStackTrace(Handle<JSObject> error_object); |
747 void CaptureAndSetSimpleStackTrace(Handle<JSObject> error_object, | 747 void CaptureAndSetSimpleStackTrace(Handle<JSObject> error_object, |
748 Handle<Object> caller); | 748 Handle<Object> caller); |
749 Handle<JSArray> GetDetailedStackTrace(Handle<JSObject> error_object); | |
750 Handle<JSArray> GetDetailedStackTraceFromSimpleStack( | |
Yang
2014/10/28 12:08:10
Naming is a bit weird in the way that you are call
aandrey
2014/10/28 13:12:14
Done.
| |
751 Handle<JSObject> error_object, int frame_limit, | |
752 StackTrace::StackTraceOptions options); | |
749 | 753 |
750 // Returns if the top context may access the given global object. If | 754 // Returns if the top context may access the given global object. If |
751 // the result is false, the pending exception is guaranteed to be | 755 // the result is false, the pending exception is guaranteed to be |
752 // set. | 756 // set. |
753 | 757 |
754 bool MayNamedAccess(Handle<JSObject> receiver, | 758 bool MayNamedAccess(Handle<JSObject> receiver, |
755 Handle<Object> key, | 759 Handle<Object> key, |
756 v8::AccessType type); | 760 v8::AccessType type); |
757 bool MayIndexedAccess(Handle<JSObject> receiver, | 761 bool MayIndexedAccess(Handle<JSObject> receiver, |
758 uint32_t index, | 762 uint32_t index, |
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1533 } | 1537 } |
1534 | 1538 |
1535 EmbeddedVector<char, 128> filename_; | 1539 EmbeddedVector<char, 128> filename_; |
1536 FILE* file_; | 1540 FILE* file_; |
1537 int scope_depth_; | 1541 int scope_depth_; |
1538 }; | 1542 }; |
1539 | 1543 |
1540 } } // namespace v8::internal | 1544 } } // namespace v8::internal |
1541 | 1545 |
1542 #endif // V8_ISOLATE_H_ | 1546 #endif // V8_ISOLATE_H_ |
OLD | NEW |