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