| 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 <set> | 9 #include <set> |
| 10 | 10 |
| (...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 673 Handle<JSArray> GetDetailedStackTrace(Handle<JSObject> error_object); | 673 Handle<JSArray> GetDetailedStackTrace(Handle<JSObject> error_object); |
| 674 Handle<JSArray> GetDetailedFromSimpleStackTrace( | 674 Handle<JSArray> GetDetailedFromSimpleStackTrace( |
| 675 Handle<JSObject> error_object); | 675 Handle<JSObject> error_object); |
| 676 | 676 |
| 677 // Returns if the given context may access the given global object. If | 677 // Returns if the given context may access the given global object. If |
| 678 // the result is false, the pending exception is guaranteed to be | 678 // the result is false, the pending exception is guaranteed to be |
| 679 // set. | 679 // set. |
| 680 bool MayAccess(Handle<Context> accessing_context, Handle<JSObject> receiver); | 680 bool MayAccess(Handle<Context> accessing_context, Handle<JSObject> receiver); |
| 681 | 681 |
| 682 bool IsInternallyUsedPropertyName(Handle<Object> name); | 682 bool IsInternallyUsedPropertyName(Handle<Object> name); |
| 683 bool IsInternallyUsedPropertyName(Object* name); | |
| 684 | 683 |
| 685 void SetFailedAccessCheckCallback(v8::FailedAccessCheckCallback callback); | 684 void SetFailedAccessCheckCallback(v8::FailedAccessCheckCallback callback); |
| 686 void ReportFailedAccessCheck(Handle<JSObject> receiver); | 685 void ReportFailedAccessCheck(Handle<JSObject> receiver); |
| 687 | 686 |
| 688 // Exception throwing support. The caller should use the result | 687 // Exception throwing support. The caller should use the result |
| 689 // of Throw() as its return value. | 688 // of Throw() as its return value. |
| 690 Object* Throw(Object* exception, MessageLocation* location = NULL); | 689 Object* Throw(Object* exception, MessageLocation* location = NULL); |
| 691 Object* ThrowIllegalOperation(); | 690 Object* ThrowIllegalOperation(); |
| 692 | 691 |
| 693 template <typename T> | 692 template <typename T> |
| (...skipping 867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1561 | 1560 |
| 1562 EmbeddedVector<char, 128> filename_; | 1561 EmbeddedVector<char, 128> filename_; |
| 1563 FILE* file_; | 1562 FILE* file_; |
| 1564 int scope_depth_; | 1563 int scope_depth_; |
| 1565 }; | 1564 }; |
| 1566 | 1565 |
| 1567 } // namespace internal | 1566 } // namespace internal |
| 1568 } // namespace v8 | 1567 } // namespace v8 |
| 1569 | 1568 |
| 1570 #endif // V8_ISOLATE_H_ | 1569 #endif // V8_ISOLATE_H_ |
| OLD | NEW |