| 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 "include/v8-debug.h" | 9 #include "include/v8-debug.h" |
| 10 #include "src/allocation.h" | 10 #include "src/allocation.h" |
| (...skipping 971 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 982 return date_cache_; | 982 return date_cache_; |
| 983 } | 983 } |
| 984 | 984 |
| 985 void set_date_cache(DateCache* date_cache) { | 985 void set_date_cache(DateCache* date_cache) { |
| 986 if (date_cache != date_cache_) { | 986 if (date_cache != date_cache_) { |
| 987 delete date_cache_; | 987 delete date_cache_; |
| 988 } | 988 } |
| 989 date_cache_ = date_cache; | 989 date_cache_ = date_cache; |
| 990 } | 990 } |
| 991 | 991 |
| 992 Map* get_initial_js_array_map(ElementsKind kind); | 992 Map* get_initial_js_array_map(ElementsKind kind, bool is_strong = false); |
| 993 | 993 |
| 994 static const int kArrayProtectorValid = 1; | 994 static const int kArrayProtectorValid = 1; |
| 995 static const int kArrayProtectorInvalid = 0; | 995 static const int kArrayProtectorInvalid = 0; |
| 996 | 996 |
| 997 bool IsFastArrayConstructorPrototypeChainIntact(); | 997 bool IsFastArrayConstructorPrototypeChainIntact(); |
| 998 | 998 |
| 999 // On intent to set an element in object, make sure that appropriate | 999 // On intent to set an element in object, make sure that appropriate |
| 1000 // notifications occur if the set is on the elements of the array or | 1000 // notifications occur if the set is on the elements of the array or |
| 1001 // object prototype. Also ensure that changes to prototype chain between | 1001 // object prototype. Also ensure that changes to prototype chain between |
| 1002 // Array and Object fire notifications. | 1002 // Array and Object fire notifications. |
| (...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1578 } | 1578 } |
| 1579 | 1579 |
| 1580 EmbeddedVector<char, 128> filename_; | 1580 EmbeddedVector<char, 128> filename_; |
| 1581 FILE* file_; | 1581 FILE* file_; |
| 1582 int scope_depth_; | 1582 int scope_depth_; |
| 1583 }; | 1583 }; |
| 1584 | 1584 |
| 1585 } } // namespace v8::internal | 1585 } } // namespace v8::internal |
| 1586 | 1586 |
| 1587 #endif // V8_ISOLATE_H_ | 1587 #endif // V8_ISOLATE_H_ |
| OLD | NEW |