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 875 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
886 DescriptorLookupCache* descriptor_lookup_cache() { | 886 DescriptorLookupCache* descriptor_lookup_cache() { |
887 return descriptor_lookup_cache_; | 887 return descriptor_lookup_cache_; |
888 } | 888 } |
889 | 889 |
890 HandleScopeData* handle_scope_data() { return &handle_scope_data_; } | 890 HandleScopeData* handle_scope_data() { return &handle_scope_data_; } |
891 | 891 |
892 HandleScopeImplementer* handle_scope_implementer() { | 892 HandleScopeImplementer* handle_scope_implementer() { |
893 DCHECK(handle_scope_implementer_); | 893 DCHECK(handle_scope_implementer_); |
894 return handle_scope_implementer_; | 894 return handle_scope_implementer_; |
895 } | 895 } |
| 896 Zone* runtime_zone() { return runtime_zone_; } |
896 | 897 |
897 UnicodeCache* unicode_cache() { | 898 UnicodeCache* unicode_cache() { |
898 return unicode_cache_; | 899 return unicode_cache_; |
899 } | 900 } |
900 | 901 |
901 InnerPointerToCodeCache* inner_pointer_to_code_cache() { | 902 InnerPointerToCodeCache* inner_pointer_to_code_cache() { |
902 return inner_pointer_to_code_cache_; | 903 return inner_pointer_to_code_cache_; |
903 } | 904 } |
904 | 905 |
905 GlobalHandles* global_handles() { return global_handles_; } | 906 GlobalHandles* global_handles() { return global_handles_; } |
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1328 bool capture_stack_trace_for_uncaught_exceptions_; | 1329 bool capture_stack_trace_for_uncaught_exceptions_; |
1329 int stack_trace_for_uncaught_exceptions_frame_limit_; | 1330 int stack_trace_for_uncaught_exceptions_frame_limit_; |
1330 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; | 1331 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; |
1331 KeyedLookupCache* keyed_lookup_cache_; | 1332 KeyedLookupCache* keyed_lookup_cache_; |
1332 ContextSlotCache* context_slot_cache_; | 1333 ContextSlotCache* context_slot_cache_; |
1333 DescriptorLookupCache* descriptor_lookup_cache_; | 1334 DescriptorLookupCache* descriptor_lookup_cache_; |
1334 HandleScopeData handle_scope_data_; | 1335 HandleScopeData handle_scope_data_; |
1335 HandleScopeImplementer* handle_scope_implementer_; | 1336 HandleScopeImplementer* handle_scope_implementer_; |
1336 UnicodeCache* unicode_cache_; | 1337 UnicodeCache* unicode_cache_; |
1337 AccountingAllocator* allocator_; | 1338 AccountingAllocator* allocator_; |
| 1339 Zone* runtime_zone_; |
1338 InnerPointerToCodeCache* inner_pointer_to_code_cache_; | 1340 InnerPointerToCodeCache* inner_pointer_to_code_cache_; |
1339 GlobalHandles* global_handles_; | 1341 GlobalHandles* global_handles_; |
1340 EternalHandles* eternal_handles_; | 1342 EternalHandles* eternal_handles_; |
1341 ThreadManager* thread_manager_; | 1343 ThreadManager* thread_manager_; |
1342 RuntimeState runtime_state_; | 1344 RuntimeState runtime_state_; |
1343 Builtins builtins_; | 1345 Builtins builtins_; |
1344 bool has_installed_extensions_; | 1346 bool has_installed_extensions_; |
1345 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; | 1347 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; |
1346 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; | 1348 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; |
1347 unibrow::Mapping<unibrow::Ecma262Canonicalize> | 1349 unibrow::Mapping<unibrow::Ecma262Canonicalize> |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1686 | 1688 |
1687 EmbeddedVector<char, 128> filename_; | 1689 EmbeddedVector<char, 128> filename_; |
1688 FILE* file_; | 1690 FILE* file_; |
1689 int scope_depth_; | 1691 int scope_depth_; |
1690 }; | 1692 }; |
1691 | 1693 |
1692 } // namespace internal | 1694 } // namespace internal |
1693 } // namespace v8 | 1695 } // namespace v8 |
1694 | 1696 |
1695 #endif // V8_ISOLATE_H_ | 1697 #endif // V8_ISOLATE_H_ |
OLD | NEW |