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 868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_; } | 888 Zone* runtime_zone() { return &runtime_zone_; } |
| 889 Zone* interface_descriptor_zone() { return &interface_descriptor_zone_; } |
889 | 890 |
890 UnicodeCache* unicode_cache() { | 891 UnicodeCache* unicode_cache() { |
891 return unicode_cache_; | 892 return unicode_cache_; |
892 } | 893 } |
893 | 894 |
894 InnerPointerToCodeCache* inner_pointer_to_code_cache() { | 895 InnerPointerToCodeCache* inner_pointer_to_code_cache() { |
895 return inner_pointer_to_code_cache_; | 896 return inner_pointer_to_code_cache_; |
896 } | 897 } |
897 | 898 |
898 GlobalHandles* global_handles() { return global_handles_; } | 899 GlobalHandles* global_handles() { return global_handles_; } |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1264 int stack_trace_for_uncaught_exceptions_frame_limit_; | 1265 int stack_trace_for_uncaught_exceptions_frame_limit_; |
1265 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; | 1266 StackTrace::StackTraceOptions stack_trace_for_uncaught_exceptions_options_; |
1266 MemoryAllocator* memory_allocator_; | 1267 MemoryAllocator* memory_allocator_; |
1267 KeyedLookupCache* keyed_lookup_cache_; | 1268 KeyedLookupCache* keyed_lookup_cache_; |
1268 ContextSlotCache* context_slot_cache_; | 1269 ContextSlotCache* context_slot_cache_; |
1269 DescriptorLookupCache* descriptor_lookup_cache_; | 1270 DescriptorLookupCache* descriptor_lookup_cache_; |
1270 HandleScopeData handle_scope_data_; | 1271 HandleScopeData handle_scope_data_; |
1271 HandleScopeImplementer* handle_scope_implementer_; | 1272 HandleScopeImplementer* handle_scope_implementer_; |
1272 UnicodeCache* unicode_cache_; | 1273 UnicodeCache* unicode_cache_; |
1273 Zone runtime_zone_; | 1274 Zone runtime_zone_; |
| 1275 Zone interface_descriptor_zone_; |
1274 InnerPointerToCodeCache* inner_pointer_to_code_cache_; | 1276 InnerPointerToCodeCache* inner_pointer_to_code_cache_; |
1275 GlobalHandles* global_handles_; | 1277 GlobalHandles* global_handles_; |
1276 EternalHandles* eternal_handles_; | 1278 EternalHandles* eternal_handles_; |
1277 ThreadManager* thread_manager_; | 1279 ThreadManager* thread_manager_; |
1278 RuntimeState runtime_state_; | 1280 RuntimeState runtime_state_; |
1279 Builtins builtins_; | 1281 Builtins builtins_; |
1280 bool has_installed_extensions_; | 1282 bool has_installed_extensions_; |
1281 StringTracker* string_tracker_; | 1283 StringTracker* string_tracker_; |
1282 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; | 1284 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; |
1283 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; | 1285 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; |
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1582 } | 1584 } |
1583 | 1585 |
1584 EmbeddedVector<char, 128> filename_; | 1586 EmbeddedVector<char, 128> filename_; |
1585 FILE* file_; | 1587 FILE* file_; |
1586 int scope_depth_; | 1588 int scope_depth_; |
1587 }; | 1589 }; |
1588 | 1590 |
1589 } } // namespace v8::internal | 1591 } } // namespace v8::internal |
1590 | 1592 |
1591 #endif // V8_ISOLATE_H_ | 1593 #endif // V8_ISOLATE_H_ |
OLD | NEW |