| 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 967 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 978 | 978 |
| 979 Map* get_initial_js_array_map(ElementsKind kind); | 979 Map* get_initial_js_array_map(ElementsKind kind); |
| 980 | 980 |
| 981 static const int kArrayProtectorValid = 1; | 981 static const int kArrayProtectorValid = 1; |
| 982 static const int kArrayProtectorInvalid = 0; | 982 static const int kArrayProtectorInvalid = 0; |
| 983 | 983 |
| 984 bool IsFastArrayConstructorPrototypeChainIntact(); | 984 bool IsFastArrayConstructorPrototypeChainIntact(); |
| 985 inline bool IsArraySpeciesLookupChainIntact(); | 985 inline bool IsArraySpeciesLookupChainIntact(); |
| 986 inline bool IsHasInstanceLookupChainIntact(); | 986 inline bool IsHasInstanceLookupChainIntact(); |
| 987 bool IsIsConcatSpreadableLookupChainIntact(); | 987 bool IsIsConcatSpreadableLookupChainIntact(); |
| 988 bool IsIsConcatSpreadableLookupChainIntact(JSReceiver* receiver); |
| 988 | 989 |
| 989 // On intent to set an element in object, make sure that appropriate | 990 // On intent to set an element in object, make sure that appropriate |
| 990 // notifications occur if the set is on the elements of the array or | 991 // notifications occur if the set is on the elements of the array or |
| 991 // object prototype. Also ensure that changes to prototype chain between | 992 // object prototype. Also ensure that changes to prototype chain between |
| 992 // Array and Object fire notifications. | 993 // Array and Object fire notifications. |
| 993 void UpdateArrayProtectorOnSetElement(Handle<JSObject> object); | 994 void UpdateArrayProtectorOnSetElement(Handle<JSObject> object); |
| 994 void UpdateArrayProtectorOnSetLength(Handle<JSObject> object) { | 995 void UpdateArrayProtectorOnSetLength(Handle<JSObject> object) { |
| 995 UpdateArrayProtectorOnSetElement(object); | 996 UpdateArrayProtectorOnSetElement(object); |
| 996 } | 997 } |
| 997 void UpdateArrayProtectorOnSetPrototype(Handle<JSObject> object) { | 998 void UpdateArrayProtectorOnSetPrototype(Handle<JSObject> object) { |
| (...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1641 | 1642 |
| 1642 EmbeddedVector<char, 128> filename_; | 1643 EmbeddedVector<char, 128> filename_; |
| 1643 FILE* file_; | 1644 FILE* file_; |
| 1644 int scope_depth_; | 1645 int scope_depth_; |
| 1645 }; | 1646 }; |
| 1646 | 1647 |
| 1647 } // namespace internal | 1648 } // namespace internal |
| 1648 } // namespace v8 | 1649 } // namespace v8 |
| 1649 | 1650 |
| 1650 #endif // V8_ISOLATE_H_ | 1651 #endif // V8_ISOLATE_H_ |
| OLD | NEW |