| 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 940 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 951 } | 951 } |
| 952 date_cache_ = date_cache; | 952 date_cache_ = date_cache; |
| 953 } | 953 } |
| 954 | 954 |
| 955 Map* get_initial_js_array_map(ElementsKind kind); | 955 Map* get_initial_js_array_map(ElementsKind kind); |
| 956 | 956 |
| 957 static const int kArrayProtectorValid = 1; | 957 static const int kArrayProtectorValid = 1; |
| 958 static const int kArrayProtectorInvalid = 0; | 958 static const int kArrayProtectorInvalid = 0; |
| 959 | 959 |
| 960 bool IsFastArrayConstructorPrototypeChainIntact(); | 960 bool IsFastArrayConstructorPrototypeChainIntact(); |
| 961 bool IsArraySpeciesLookupChainIntact(); | 961 inline bool IsArraySpeciesLookupChainIntact(); |
| 962 | 962 |
| 963 // On intent to set an element in object, make sure that appropriate | 963 // On intent to set an element in object, make sure that appropriate |
| 964 // notifications occur if the set is on the elements of the array or | 964 // notifications occur if the set is on the elements of the array or |
| 965 // object prototype. Also ensure that changes to prototype chain between | 965 // object prototype. Also ensure that changes to prototype chain between |
| 966 // Array and Object fire notifications. | 966 // Array and Object fire notifications. |
| 967 void UpdateArrayProtectorOnSetElement(Handle<JSObject> object); | 967 void UpdateArrayProtectorOnSetElement(Handle<JSObject> object); |
| 968 void UpdateArrayProtectorOnSetLength(Handle<JSObject> object) { | 968 void UpdateArrayProtectorOnSetLength(Handle<JSObject> object) { |
| 969 UpdateArrayProtectorOnSetElement(object); | 969 UpdateArrayProtectorOnSetElement(object); |
| 970 } | 970 } |
| 971 void UpdateArrayProtectorOnSetPrototype(Handle<JSObject> object) { | 971 void UpdateArrayProtectorOnSetPrototype(Handle<JSObject> object) { |
| (...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1589 | 1589 |
| 1590 EmbeddedVector<char, 128> filename_; | 1590 EmbeddedVector<char, 128> filename_; |
| 1591 FILE* file_; | 1591 FILE* file_; |
| 1592 int scope_depth_; | 1592 int scope_depth_; |
| 1593 }; | 1593 }; |
| 1594 | 1594 |
| 1595 } // namespace internal | 1595 } // namespace internal |
| 1596 } // namespace v8 | 1596 } // namespace v8 |
| 1597 | 1597 |
| 1598 #endif // V8_ISOLATE_H_ | 1598 #endif // V8_ISOLATE_H_ |
| OLD | NEW |