| 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 935 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 946 return date_cache_; | 946 return date_cache_; |
| 947 } | 947 } |
| 948 | 948 |
| 949 void set_date_cache(DateCache* date_cache) { | 949 void set_date_cache(DateCache* date_cache) { |
| 950 if (date_cache != date_cache_) { | 950 if (date_cache != date_cache_) { |
| 951 delete date_cache_; | 951 delete date_cache_; |
| 952 } | 952 } |
| 953 date_cache_ = date_cache; | 953 date_cache_ = date_cache; |
| 954 } | 954 } |
| 955 | 955 |
| 956 Map* get_initial_js_array_map(ElementsKind kind, | 956 Map* get_initial_js_array_map(ElementsKind kind); |
| 957 Strength strength = Strength::WEAK); | |
| 958 | 957 |
| 959 static const int kArrayProtectorValid = 1; | 958 static const int kArrayProtectorValid = 1; |
| 960 static const int kArrayProtectorInvalid = 0; | 959 static const int kArrayProtectorInvalid = 0; |
| 961 | 960 |
| 962 bool IsFastArrayConstructorPrototypeChainIntact(); | 961 bool IsFastArrayConstructorPrototypeChainIntact(); |
| 963 bool IsArraySpeciesLookupChainIntact(); | 962 bool IsArraySpeciesLookupChainIntact(); |
| 964 | 963 |
| 965 // On intent to set an element in object, make sure that appropriate | 964 // On intent to set an element in object, make sure that appropriate |
| 966 // notifications occur if the set is on the elements of the array or | 965 // notifications occur if the set is on the elements of the array or |
| 967 // object prototype. Also ensure that changes to prototype chain between | 966 // object prototype. Also ensure that changes to prototype chain between |
| (...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1575 | 1574 |
| 1576 EmbeddedVector<char, 128> filename_; | 1575 EmbeddedVector<char, 128> filename_; |
| 1577 FILE* file_; | 1576 FILE* file_; |
| 1578 int scope_depth_; | 1577 int scope_depth_; |
| 1579 }; | 1578 }; |
| 1580 | 1579 |
| 1581 } // namespace internal | 1580 } // namespace internal |
| 1582 } // namespace v8 | 1581 } // namespace v8 |
| 1583 | 1582 |
| 1584 #endif // V8_ISOLATE_H_ | 1583 #endif // V8_ISOLATE_H_ |
| OLD | NEW |