| 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 929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 940 return date_cache_; | 940 return date_cache_; |
| 941 } | 941 } |
| 942 | 942 |
| 943 void set_date_cache(DateCache* date_cache) { | 943 void set_date_cache(DateCache* date_cache) { |
| 944 if (date_cache != date_cache_) { | 944 if (date_cache != date_cache_) { |
| 945 delete date_cache_; | 945 delete date_cache_; |
| 946 } | 946 } |
| 947 date_cache_ = date_cache; | 947 date_cache_ = date_cache; |
| 948 } | 948 } |
| 949 | 949 |
| 950 ErrorToStringHelper* error_tostring_helper() { | |
| 951 return &error_tostring_helper_; | |
| 952 } | |
| 953 | |
| 954 Map* get_initial_js_array_map(ElementsKind kind, | 950 Map* get_initial_js_array_map(ElementsKind kind, |
| 955 Strength strength = Strength::WEAK); | 951 Strength strength = Strength::WEAK); |
| 956 | 952 |
| 957 static const int kArrayProtectorValid = 1; | 953 static const int kArrayProtectorValid = 1; |
| 958 static const int kArrayProtectorInvalid = 0; | 954 static const int kArrayProtectorInvalid = 0; |
| 959 | 955 |
| 960 bool IsFastArrayConstructorPrototypeChainIntact(); | 956 bool IsFastArrayConstructorPrototypeChainIntact(); |
| 961 | 957 |
| 962 // On intent to set an element in object, make sure that appropriate | 958 // On intent to set an element in object, make sure that appropriate |
| 963 // notifications occur if the set is on the elements of the array or | 959 // notifications occur if the set is on the elements of the array or |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1242 ThreadManager* thread_manager_; | 1238 ThreadManager* thread_manager_; |
| 1243 RuntimeState runtime_state_; | 1239 RuntimeState runtime_state_; |
| 1244 Builtins builtins_; | 1240 Builtins builtins_; |
| 1245 bool has_installed_extensions_; | 1241 bool has_installed_extensions_; |
| 1246 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; | 1242 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; |
| 1247 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; | 1243 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; |
| 1248 unibrow::Mapping<unibrow::Ecma262Canonicalize> | 1244 unibrow::Mapping<unibrow::Ecma262Canonicalize> |
| 1249 regexp_macro_assembler_canonicalize_; | 1245 regexp_macro_assembler_canonicalize_; |
| 1250 RegExpStack* regexp_stack_; | 1246 RegExpStack* regexp_stack_; |
| 1251 DateCache* date_cache_; | 1247 DateCache* date_cache_; |
| 1252 ErrorToStringHelper error_tostring_helper_; | |
| 1253 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; | 1248 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; |
| 1254 CallInterfaceDescriptorData* call_descriptor_data_; | 1249 CallInterfaceDescriptorData* call_descriptor_data_; |
| 1255 base::RandomNumberGenerator* random_number_generator_; | 1250 base::RandomNumberGenerator* random_number_generator_; |
| 1256 | 1251 |
| 1257 // Whether the isolate has been created for snapshotting. | 1252 // Whether the isolate has been created for snapshotting. |
| 1258 bool serializer_enabled_; | 1253 bool serializer_enabled_; |
| 1259 | 1254 |
| 1260 // True if fatal error has been signaled for this isolate. | 1255 // True if fatal error has been signaled for this isolate. |
| 1261 bool has_fatal_error_; | 1256 bool has_fatal_error_; |
| 1262 | 1257 |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1560 | 1555 |
| 1561 EmbeddedVector<char, 128> filename_; | 1556 EmbeddedVector<char, 128> filename_; |
| 1562 FILE* file_; | 1557 FILE* file_; |
| 1563 int scope_depth_; | 1558 int scope_depth_; |
| 1564 }; | 1559 }; |
| 1565 | 1560 |
| 1566 } // namespace internal | 1561 } // namespace internal |
| 1567 } // namespace v8 | 1562 } // namespace v8 |
| 1568 | 1563 |
| 1569 #endif // V8_ISOLATE_H_ | 1564 #endif // V8_ISOLATE_H_ |
| OLD | NEW |