| 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 | 10 |
| (...skipping 889 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 900 } | 900 } |
| 901 | 901 |
| 902 unibrow::Mapping<unibrow::CanonicalizationRange>* jsregexp_canonrange() { | 902 unibrow::Mapping<unibrow::CanonicalizationRange>* jsregexp_canonrange() { |
| 903 return &jsregexp_canonrange_; | 903 return &jsregexp_canonrange_; |
| 904 } | 904 } |
| 905 | 905 |
| 906 RuntimeState* runtime_state() { return &runtime_state_; } | 906 RuntimeState* runtime_state() { return &runtime_state_; } |
| 907 | 907 |
| 908 Builtins* builtins() { return &builtins_; } | 908 Builtins* builtins() { return &builtins_; } |
| 909 | 909 |
| 910 void NotifyExtensionInstalled() { | |
| 911 has_installed_extensions_ = true; | |
| 912 } | |
| 913 | |
| 914 bool has_installed_extensions() { return has_installed_extensions_; } | |
| 915 | |
| 916 unibrow::Mapping<unibrow::Ecma262Canonicalize>* | 910 unibrow::Mapping<unibrow::Ecma262Canonicalize>* |
| 917 regexp_macro_assembler_canonicalize() { | 911 regexp_macro_assembler_canonicalize() { |
| 918 return ®exp_macro_assembler_canonicalize_; | 912 return ®exp_macro_assembler_canonicalize_; |
| 919 } | 913 } |
| 920 | 914 |
| 921 RegExpStack* regexp_stack() { return regexp_stack_; } | 915 RegExpStack* regexp_stack() { return regexp_stack_; } |
| 922 | 916 |
| 923 List<int>* regexp_indices() { return ®exp_indices_; } | 917 List<int>* regexp_indices() { return ®exp_indices_; } |
| 924 | 918 |
| 925 unibrow::Mapping<unibrow::Ecma262Canonicalize>* | 919 unibrow::Mapping<unibrow::Ecma262Canonicalize>* |
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1337 HandleScopeData handle_scope_data_; | 1331 HandleScopeData handle_scope_data_; |
| 1338 HandleScopeImplementer* handle_scope_implementer_; | 1332 HandleScopeImplementer* handle_scope_implementer_; |
| 1339 UnicodeCache* unicode_cache_; | 1333 UnicodeCache* unicode_cache_; |
| 1340 AccountingAllocator* allocator_; | 1334 AccountingAllocator* allocator_; |
| 1341 InnerPointerToCodeCache* inner_pointer_to_code_cache_; | 1335 InnerPointerToCodeCache* inner_pointer_to_code_cache_; |
| 1342 GlobalHandles* global_handles_; | 1336 GlobalHandles* global_handles_; |
| 1343 EternalHandles* eternal_handles_; | 1337 EternalHandles* eternal_handles_; |
| 1344 ThreadManager* thread_manager_; | 1338 ThreadManager* thread_manager_; |
| 1345 RuntimeState runtime_state_; | 1339 RuntimeState runtime_state_; |
| 1346 Builtins builtins_; | 1340 Builtins builtins_; |
| 1347 bool has_installed_extensions_; | |
| 1348 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; | 1341 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; |
| 1349 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; | 1342 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; |
| 1350 unibrow::Mapping<unibrow::Ecma262Canonicalize> | 1343 unibrow::Mapping<unibrow::Ecma262Canonicalize> |
| 1351 regexp_macro_assembler_canonicalize_; | 1344 regexp_macro_assembler_canonicalize_; |
| 1352 RegExpStack* regexp_stack_; | 1345 RegExpStack* regexp_stack_; |
| 1353 List<int> regexp_indices_; | 1346 List<int> regexp_indices_; |
| 1354 DateCache* date_cache_; | 1347 DateCache* date_cache_; |
| 1355 CallInterfaceDescriptorData* call_descriptor_data_; | 1348 CallInterfaceDescriptorData* call_descriptor_data_; |
| 1356 AccessCompilerData* access_compiler_data_; | 1349 AccessCompilerData* access_compiler_data_; |
| 1357 base::RandomNumberGenerator* random_number_generator_; | 1350 base::RandomNumberGenerator* random_number_generator_; |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1684 | 1677 |
| 1685 EmbeddedVector<char, 128> filename_; | 1678 EmbeddedVector<char, 128> filename_; |
| 1686 FILE* file_; | 1679 FILE* file_; |
| 1687 int scope_depth_; | 1680 int scope_depth_; |
| 1688 }; | 1681 }; |
| 1689 | 1682 |
| 1690 } // namespace internal | 1683 } // namespace internal |
| 1691 } // namespace v8 | 1684 } // namespace v8 |
| 1692 | 1685 |
| 1693 #endif // V8_ISOLATE_H_ | 1686 #endif // V8_ISOLATE_H_ |
| OLD | NEW |