| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | 27 |
| 28 #ifndef V8_ISOLATE_H_ | 28 #ifndef V8_ISOLATE_H_ |
| 29 #define V8_ISOLATE_H_ | 29 #define V8_ISOLATE_H_ |
| 30 | 30 |
| 31 #include "allocation.h" | 31 #include "allocation.h" |
| 32 #include "apiutils.h" | 32 #include "apiutils.h" |
| 33 #include "builtins.h" | 33 #include "builtins.h" |
| 34 #include "contexts.h" | 34 #include "contexts.h" |
| 35 #include "execution.h" | 35 #include "execution.h" |
| 36 #include "frames-inl.h" | |
| 37 #include "frames.h" | 36 #include "frames.h" |
| 38 #include "global-handles.h" | 37 #include "global-handles.h" |
| 39 #include "handles.h" | 38 #include "handles.h" |
| 40 #include "heap.h" | 39 #include "heap.h" |
| 41 #include "regexp-stack.h" | 40 #include "regexp-stack.h" |
| 42 #include "runtime.h" | 41 #include "runtime.h" |
| 43 #include "zone.h" | 42 #include "zone.h" |
| 44 #include "../include/v8-debug.h" | 43 #include "../include/v8-debug.h" |
| 45 | 44 |
| 46 | 45 |
| (...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 698 HandleScopeImplementer* handle_scope_implementer() { | 697 HandleScopeImplementer* handle_scope_implementer() { |
| 699 ASSERT(handle_scope_implementer_); | 698 ASSERT(handle_scope_implementer_); |
| 700 return handle_scope_implementer_; | 699 return handle_scope_implementer_; |
| 701 } | 700 } |
| 702 Zone* zone() { return &zone_; } | 701 Zone* zone() { return &zone_; } |
| 703 | 702 |
| 704 ScannerCharacterClasses* scanner_character_classes() { | 703 ScannerCharacterClasses* scanner_character_classes() { |
| 705 return scanner_character_classes_; | 704 return scanner_character_classes_; |
| 706 } | 705 } |
| 707 | 706 |
| 707 PcToCodeCache* pc_to_code_cache() { return pc_to_code_cache_; } |
| 708 |
| 708 StringInputBuffer* write_input_buffer() { return write_input_buffer_; } | 709 StringInputBuffer* write_input_buffer() { return write_input_buffer_; } |
| 709 | 710 |
| 710 GlobalHandles* global_handles() { return global_handles_; } | 711 GlobalHandles* global_handles() { return global_handles_; } |
| 711 | 712 |
| 712 ThreadManager* thread_manager() { return thread_manager_; } | 713 ThreadManager* thread_manager() { return thread_manager_; } |
| 713 | 714 |
| 714 ContextSwitcher* context_switcher() { return context_switcher_; } | 715 ContextSwitcher* context_switcher() { return context_switcher_; } |
| 715 | 716 |
| 716 void set_context_switcher(ContextSwitcher* switcher) { | 717 void set_context_switcher(ContextSwitcher* switcher) { |
| 717 context_switcher_ = switcher; | 718 context_switcher_ = switcher; |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 968 KeyedLookupCache* keyed_lookup_cache_; | 969 KeyedLookupCache* keyed_lookup_cache_; |
| 969 ContextSlotCache* context_slot_cache_; | 970 ContextSlotCache* context_slot_cache_; |
| 970 DescriptorLookupCache* descriptor_lookup_cache_; | 971 DescriptorLookupCache* descriptor_lookup_cache_; |
| 971 v8::ImplementationUtilities::HandleScopeData handle_scope_data_; | 972 v8::ImplementationUtilities::HandleScopeData handle_scope_data_; |
| 972 HandleScopeImplementer* handle_scope_implementer_; | 973 HandleScopeImplementer* handle_scope_implementer_; |
| 973 ScannerCharacterClasses* scanner_character_classes_; | 974 ScannerCharacterClasses* scanner_character_classes_; |
| 974 Zone zone_; | 975 Zone zone_; |
| 975 PreallocatedStorage in_use_list_; | 976 PreallocatedStorage in_use_list_; |
| 976 PreallocatedStorage free_list_; | 977 PreallocatedStorage free_list_; |
| 977 bool preallocated_storage_preallocated_; | 978 bool preallocated_storage_preallocated_; |
| 979 PcToCodeCache* pc_to_code_cache_; |
| 978 StringInputBuffer* write_input_buffer_; | 980 StringInputBuffer* write_input_buffer_; |
| 979 GlobalHandles* global_handles_; | 981 GlobalHandles* global_handles_; |
| 980 ContextSwitcher* context_switcher_; | 982 ContextSwitcher* context_switcher_; |
| 981 ThreadManager* thread_manager_; | 983 ThreadManager* thread_manager_; |
| 982 AstSentinels* ast_sentinels_; | 984 AstSentinels* ast_sentinels_; |
| 983 InlineRuntimeFunctionsTable* inline_runtime_functions_table_; | 985 InlineRuntimeFunctionsTable* inline_runtime_functions_table_; |
| 984 RuntimeState runtime_state_; | 986 RuntimeState runtime_state_; |
| 985 StringInputBuffer liveedit_compare_substrings_buf1_; | 987 StringInputBuffer liveedit_compare_substrings_buf1_; |
| 986 StringInputBuffer liveedit_compare_substrings_buf2_; | 988 StringInputBuffer liveedit_compare_substrings_buf2_; |
| 987 StaticResource<SafeStringInputBuffer> compiler_safe_string_input_buffer_; | 989 StaticResource<SafeStringInputBuffer> compiler_safe_string_input_buffer_; |
| (...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1191 // to be isolate-friendly. Their mix of static/nonstatic methods/fields is | 1193 // to be isolate-friendly. Their mix of static/nonstatic methods/fields is |
| 1192 // correct. | 1194 // correct. |
| 1193 #define ISOLATED_CLASS class | 1195 #define ISOLATED_CLASS class |
| 1194 | 1196 |
| 1195 } } // namespace v8::internal | 1197 } } // namespace v8::internal |
| 1196 | 1198 |
| 1197 // TODO(isolates): Get rid of these -inl.h includes and place them only where | 1199 // TODO(isolates): Get rid of these -inl.h includes and place them only where |
| 1198 // they're needed. | 1200 // they're needed. |
| 1199 #include "allocation-inl.h" | 1201 #include "allocation-inl.h" |
| 1200 #include "zone-inl.h" | 1202 #include "zone-inl.h" |
| 1203 #include "frames-inl.h" |
| 1201 | 1204 |
| 1202 #endif // V8_ISOLATE_H_ | 1205 #endif // V8_ISOLATE_H_ |
| OLD | NEW |