| 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 <queue> | 8 #include <queue> |
| 9 #include "include/v8-debug.h" | 9 #include "include/v8-debug.h" |
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
| (...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 718 Handle<String> StackTraceString(); | 718 Handle<String> StackTraceString(); |
| 719 NO_INLINE(void PushStackTraceAndDie(unsigned int magic, | 719 NO_INLINE(void PushStackTraceAndDie(unsigned int magic, |
| 720 Object* object, | 720 Object* object, |
| 721 Map* map, | 721 Map* map, |
| 722 unsigned int magic2)); | 722 unsigned int magic2)); |
| 723 Handle<JSArray> CaptureCurrentStackTrace( | 723 Handle<JSArray> CaptureCurrentStackTrace( |
| 724 int frame_limit, | 724 int frame_limit, |
| 725 StackTrace::StackTraceOptions options); | 725 StackTrace::StackTraceOptions options); |
| 726 Handle<Object> CaptureSimpleStackTrace(Handle<JSObject> error_object, | 726 Handle<Object> CaptureSimpleStackTrace(Handle<JSObject> error_object, |
| 727 Handle<Object> caller); | 727 Handle<Object> caller); |
| 728 void CaptureAndSetDetailedStackTrace(Handle<JSObject> error_object); | 728 MaybeHandle<JSObject> CaptureAndSetDetailedStackTrace( |
| 729 void CaptureAndSetSimpleStackTrace(Handle<JSObject> error_object, | 729 Handle<JSObject> error_object); |
| 730 Handle<Object> caller); | 730 MaybeHandle<JSObject> CaptureAndSetSimpleStackTrace( |
| 731 Handle<JSObject> error_object, Handle<Object> caller); |
| 731 Handle<JSArray> GetDetailedStackTrace(Handle<JSObject> error_object); | 732 Handle<JSArray> GetDetailedStackTrace(Handle<JSObject> error_object); |
| 732 Handle<JSArray> GetDetailedFromSimpleStackTrace( | 733 Handle<JSArray> GetDetailedFromSimpleStackTrace( |
| 733 Handle<JSObject> error_object); | 734 Handle<JSObject> error_object); |
| 734 | 735 |
| 735 // Returns if the top context may access the given global object. If | 736 // Returns if the top context may access the given global object. If |
| 736 // the result is false, the pending exception is guaranteed to be | 737 // the result is false, the pending exception is guaranteed to be |
| 737 // set. | 738 // set. |
| 738 | 739 |
| 739 bool MayAccess(Handle<JSObject> receiver); | 740 bool MayAccess(Handle<JSObject> receiver); |
| 740 bool IsInternallyUsedPropertyName(Handle<Object> name); | 741 bool IsInternallyUsedPropertyName(Handle<Object> name); |
| (...skipping 827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1568 } | 1569 } |
| 1569 | 1570 |
| 1570 EmbeddedVector<char, 128> filename_; | 1571 EmbeddedVector<char, 128> filename_; |
| 1571 FILE* file_; | 1572 FILE* file_; |
| 1572 int scope_depth_; | 1573 int scope_depth_; |
| 1573 }; | 1574 }; |
| 1574 | 1575 |
| 1575 } } // namespace v8::internal | 1576 } } // namespace v8::internal |
| 1576 | 1577 |
| 1577 #endif // V8_ISOLATE_H_ | 1578 #endif // V8_ISOLATE_H_ |
| OLD | NEW |