| 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 867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 878 DescriptorLookupCache* descriptor_lookup_cache() { | 878 DescriptorLookupCache* descriptor_lookup_cache() { |
| 879 return descriptor_lookup_cache_; | 879 return descriptor_lookup_cache_; |
| 880 } | 880 } |
| 881 | 881 |
| 882 HandleScopeData* handle_scope_data() { return &handle_scope_data_; } | 882 HandleScopeData* handle_scope_data() { return &handle_scope_data_; } |
| 883 | 883 |
| 884 HandleScopeImplementer* handle_scope_implementer() { | 884 HandleScopeImplementer* handle_scope_implementer() { |
| 885 DCHECK(handle_scope_implementer_); | 885 DCHECK(handle_scope_implementer_); |
| 886 return handle_scope_implementer_; | 886 return handle_scope_implementer_; |
| 887 } | 887 } |
| 888 Zone* runtime_zone() { return runtime_zone_; } | |
| 889 | 888 |
| 890 UnicodeCache* unicode_cache() { | 889 UnicodeCache* unicode_cache() { |
| 891 return unicode_cache_; | 890 return unicode_cache_; |
| 892 } | 891 } |
| 893 | 892 |
| 894 InnerPointerToCodeCache* inner_pointer_to_code_cache() { | 893 InnerPointerToCodeCache* inner_pointer_to_code_cache() { |
| 895 return inner_pointer_to_code_cache_; | 894 return inner_pointer_to_code_cache_; |
| 896 } | 895 } |
| 897 | 896 |
| 898 GlobalHandles* global_handles() { return global_handles_; } | 897 GlobalHandles* global_handles() { return global_handles_; } |
| (...skipping 20 matching lines...) Expand all Loading... |
| 919 | 918 |
| 920 bool has_installed_extensions() { return has_installed_extensions_; } | 919 bool has_installed_extensions() { return has_installed_extensions_; } |
| 921 | 920 |
| 922 unibrow::Mapping<unibrow::Ecma262Canonicalize>* | 921 unibrow::Mapping<unibrow::Ecma262Canonicalize>* |
| 923 regexp_macro_assembler_canonicalize() { | 922 regexp_macro_assembler_canonicalize() { |
| 924 return ®exp_macro_assembler_canonicalize_; | 923 return ®exp_macro_assembler_canonicalize_; |
| 925 } | 924 } |
| 926 | 925 |
| 927 RegExpStack* regexp_stack() { return regexp_stack_; } | 926 RegExpStack* regexp_stack() { return regexp_stack_; } |
| 928 | 927 |
| 928 List<int>* regexp_indices() { return ®exp_indices_; } |
| 929 |
| 929 unibrow::Mapping<unibrow::Ecma262Canonicalize>* | 930 unibrow::Mapping<unibrow::Ecma262Canonicalize>* |
| 930 interp_canonicalize_mapping() { | 931 interp_canonicalize_mapping() { |
| 931 return ®exp_macro_assembler_canonicalize_; | 932 return ®exp_macro_assembler_canonicalize_; |
| 932 } | 933 } |
| 933 | 934 |
| 934 Debug* debug() { return debug_; } | 935 Debug* debug() { return debug_; } |
| 935 | 936 |
| 936 bool* is_profiling_address() { return &is_profiling_; } | 937 bool* is_profiling_address() { return &is_profiling_; } |
| 937 CodeEventDispatcher* code_event_dispatcher() const { | 938 CodeEventDispatcher* code_event_dispatcher() const { |
| 938 return code_event_dispatcher_.get(); | 939 return code_event_dispatcher_.get(); |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1318 bool capture_stack_trace_for_uncaught_exceptions_; | 1319 bool capture_stack_trace_for_uncaught_exceptions_; |
| 1319 int stack_trace_for_uncaught_exceptions_frame_limit_; | 1320 int stack_trace_for_uncaught_exceptions_frame_limit_; |
| 1320 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; | 1321 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; |
| 1321 KeyedLookupCache* keyed_lookup_cache_; | 1322 KeyedLookupCache* keyed_lookup_cache_; |
| 1322 ContextSlotCache* context_slot_cache_; | 1323 ContextSlotCache* context_slot_cache_; |
| 1323 DescriptorLookupCache* descriptor_lookup_cache_; | 1324 DescriptorLookupCache* descriptor_lookup_cache_; |
| 1324 HandleScopeData handle_scope_data_; | 1325 HandleScopeData handle_scope_data_; |
| 1325 HandleScopeImplementer* handle_scope_implementer_; | 1326 HandleScopeImplementer* handle_scope_implementer_; |
| 1326 UnicodeCache* unicode_cache_; | 1327 UnicodeCache* unicode_cache_; |
| 1327 AccountingAllocator* allocator_; | 1328 AccountingAllocator* allocator_; |
| 1328 Zone* runtime_zone_; | |
| 1329 InnerPointerToCodeCache* inner_pointer_to_code_cache_; | 1329 InnerPointerToCodeCache* inner_pointer_to_code_cache_; |
| 1330 GlobalHandles* global_handles_; | 1330 GlobalHandles* global_handles_; |
| 1331 EternalHandles* eternal_handles_; | 1331 EternalHandles* eternal_handles_; |
| 1332 ThreadManager* thread_manager_; | 1332 ThreadManager* thread_manager_; |
| 1333 RuntimeState runtime_state_; | 1333 RuntimeState runtime_state_; |
| 1334 Builtins builtins_; | 1334 Builtins builtins_; |
| 1335 bool has_installed_extensions_; | 1335 bool has_installed_extensions_; |
| 1336 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; | 1336 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; |
| 1337 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; | 1337 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; |
| 1338 unibrow::Mapping<unibrow::Ecma262Canonicalize> | 1338 unibrow::Mapping<unibrow::Ecma262Canonicalize> |
| 1339 regexp_macro_assembler_canonicalize_; | 1339 regexp_macro_assembler_canonicalize_; |
| 1340 RegExpStack* regexp_stack_; | 1340 RegExpStack* regexp_stack_; |
| 1341 List<int> regexp_indices_; |
| 1341 DateCache* date_cache_; | 1342 DateCache* date_cache_; |
| 1342 CallInterfaceDescriptorData* call_descriptor_data_; | 1343 CallInterfaceDescriptorData* call_descriptor_data_; |
| 1343 base::RandomNumberGenerator* random_number_generator_; | 1344 base::RandomNumberGenerator* random_number_generator_; |
| 1344 base::AtomicValue<RAILMode> rail_mode_; | 1345 base::AtomicValue<RAILMode> rail_mode_; |
| 1345 | 1346 |
| 1346 // Whether the isolate has been created for snapshotting. | 1347 // Whether the isolate has been created for snapshotting. |
| 1347 bool serializer_enabled_; | 1348 bool serializer_enabled_; |
| 1348 | 1349 |
| 1349 // True if fatal error has been signaled for this isolate. | 1350 // True if fatal error has been signaled for this isolate. |
| 1350 bool has_fatal_error_; | 1351 bool has_fatal_error_; |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1672 | 1673 |
| 1673 EmbeddedVector<char, 128> filename_; | 1674 EmbeddedVector<char, 128> filename_; |
| 1674 FILE* file_; | 1675 FILE* file_; |
| 1675 int scope_depth_; | 1676 int scope_depth_; |
| 1676 }; | 1677 }; |
| 1677 | 1678 |
| 1678 } // namespace internal | 1679 } // namespace internal |
| 1679 } // namespace v8 | 1680 } // namespace v8 |
| 1680 | 1681 |
| 1681 #endif // V8_ISOLATE_H_ | 1682 #endif // V8_ISOLATE_H_ |
| OLD | NEW |