OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 class FunctionInfoListener; | 68 class FunctionInfoListener; |
69 class HandleScopeImplementer; | 69 class HandleScopeImplementer; |
70 class HeapProfiler; | 70 class HeapProfiler; |
71 class InlineRuntimeFunctionsTable; | 71 class InlineRuntimeFunctionsTable; |
72 class NoAllocationStringAllocator; | 72 class NoAllocationStringAllocator; |
73 class InnerPointerToCodeCache; | 73 class InnerPointerToCodeCache; |
74 class PreallocatedMemoryThread; | 74 class PreallocatedMemoryThread; |
75 class RegExpStack; | 75 class RegExpStack; |
76 class SaveContext; | 76 class SaveContext; |
77 class UnicodeCache; | 77 class UnicodeCache; |
78 class ConsStringIteratorOp; | 78 class StringInputBuffer; |
79 class StringTracker; | 79 class StringTracker; |
80 class StubCache; | 80 class StubCache; |
81 class ThreadManager; | 81 class ThreadManager; |
82 class ThreadState; | 82 class ThreadState; |
83 class ThreadVisitor; // Defined in v8threads.h | 83 class ThreadVisitor; // Defined in v8threads.h |
84 class VMState; | 84 class VMState; |
85 | 85 |
86 // 'void function pointer', used to roundtrip the | 86 // 'void function pointer', used to roundtrip the |
87 // ExternalReference::ExternalReferenceRedirector since we can not include | 87 // ExternalReference::ExternalReferenceRedirector since we can not include |
88 // assembler.h, where it is defined, here. | 88 // assembler.h, where it is defined, here. |
(...skipping 785 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
874 Zone* runtime_zone() { return &runtime_zone_; } | 874 Zone* runtime_zone() { return &runtime_zone_; } |
875 | 875 |
876 UnicodeCache* unicode_cache() { | 876 UnicodeCache* unicode_cache() { |
877 return unicode_cache_; | 877 return unicode_cache_; |
878 } | 878 } |
879 | 879 |
880 InnerPointerToCodeCache* inner_pointer_to_code_cache() { | 880 InnerPointerToCodeCache* inner_pointer_to_code_cache() { |
881 return inner_pointer_to_code_cache_; | 881 return inner_pointer_to_code_cache_; |
882 } | 882 } |
883 | 883 |
884 ConsStringIteratorOp* write_iterator() { return write_iterator_; } | 884 StringInputBuffer* write_input_buffer() { return write_input_buffer_; } |
885 | 885 |
886 GlobalHandles* global_handles() { return global_handles_; } | 886 GlobalHandles* global_handles() { return global_handles_; } |
887 | 887 |
888 ThreadManager* thread_manager() { return thread_manager_; } | 888 ThreadManager* thread_manager() { return thread_manager_; } |
889 | 889 |
890 ContextSwitcher* context_switcher() { return context_switcher_; } | 890 ContextSwitcher* context_switcher() { return context_switcher_; } |
891 | 891 |
892 void set_context_switcher(ContextSwitcher* switcher) { | 892 void set_context_switcher(ContextSwitcher* switcher) { |
893 context_switcher_ = switcher; | 893 context_switcher_ = switcher; |
894 } | 894 } |
895 | 895 |
896 StringTracker* string_tracker() { return string_tracker_; } | 896 StringTracker* string_tracker() { return string_tracker_; } |
897 | 897 |
898 unibrow::Mapping<unibrow::Ecma262UnCanonicalize>* jsregexp_uncanonicalize() { | 898 unibrow::Mapping<unibrow::Ecma262UnCanonicalize>* jsregexp_uncanonicalize() { |
899 return &jsregexp_uncanonicalize_; | 899 return &jsregexp_uncanonicalize_; |
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 ConsStringIteratorOp* objects_string_compare_iterator_a() { | 906 StringInputBuffer* objects_string_compare_buffer_a() { |
907 return &objects_string_compare_iterator_a_; | 907 return &objects_string_compare_buffer_a_; |
908 } | 908 } |
909 | 909 |
910 ConsStringIteratorOp* objects_string_compare_iterator_b() { | 910 StringInputBuffer* objects_string_compare_buffer_b() { |
911 return &objects_string_compare_iterator_b_; | 911 return &objects_string_compare_buffer_b_; |
912 } | 912 } |
913 | 913 |
914 StaticResource<ConsStringIteratorOp>* objects_string_iterator() { | 914 StaticResource<StringInputBuffer>* objects_string_input_buffer() { |
915 return &objects_string_iterator_; | 915 return &objects_string_input_buffer_; |
916 } | 916 } |
917 | 917 |
918 RuntimeState* runtime_state() { return &runtime_state_; } | 918 RuntimeState* runtime_state() { return &runtime_state_; } |
919 | 919 |
920 void set_fp_stubs_generated(bool value) { | 920 void set_fp_stubs_generated(bool value) { |
921 fp_stubs_generated_ = value; | 921 fp_stubs_generated_ = value; |
922 } | 922 } |
923 | 923 |
924 bool fp_stubs_generated() { return fp_stubs_generated_; } | 924 bool fp_stubs_generated() { return fp_stubs_generated_; } |
925 | 925 |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1218 ContextSlotCache* context_slot_cache_; | 1218 ContextSlotCache* context_slot_cache_; |
1219 DescriptorLookupCache* descriptor_lookup_cache_; | 1219 DescriptorLookupCache* descriptor_lookup_cache_; |
1220 v8::ImplementationUtilities::HandleScopeData handle_scope_data_; | 1220 v8::ImplementationUtilities::HandleScopeData handle_scope_data_; |
1221 HandleScopeImplementer* handle_scope_implementer_; | 1221 HandleScopeImplementer* handle_scope_implementer_; |
1222 UnicodeCache* unicode_cache_; | 1222 UnicodeCache* unicode_cache_; |
1223 Zone runtime_zone_; | 1223 Zone runtime_zone_; |
1224 PreallocatedStorage in_use_list_; | 1224 PreallocatedStorage in_use_list_; |
1225 PreallocatedStorage free_list_; | 1225 PreallocatedStorage free_list_; |
1226 bool preallocated_storage_preallocated_; | 1226 bool preallocated_storage_preallocated_; |
1227 InnerPointerToCodeCache* inner_pointer_to_code_cache_; | 1227 InnerPointerToCodeCache* inner_pointer_to_code_cache_; |
1228 ConsStringIteratorOp* write_iterator_; | 1228 StringInputBuffer* write_input_buffer_; |
1229 GlobalHandles* global_handles_; | 1229 GlobalHandles* global_handles_; |
1230 ContextSwitcher* context_switcher_; | 1230 ContextSwitcher* context_switcher_; |
1231 ThreadManager* thread_manager_; | 1231 ThreadManager* thread_manager_; |
1232 RuntimeState runtime_state_; | 1232 RuntimeState runtime_state_; |
1233 bool fp_stubs_generated_; | 1233 bool fp_stubs_generated_; |
1234 Builtins builtins_; | 1234 Builtins builtins_; |
1235 bool has_installed_extensions_; | 1235 bool has_installed_extensions_; |
1236 StringTracker* string_tracker_; | 1236 StringTracker* string_tracker_; |
1237 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; | 1237 unibrow::Mapping<unibrow::Ecma262UnCanonicalize> jsregexp_uncanonicalize_; |
1238 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; | 1238 unibrow::Mapping<unibrow::CanonicalizationRange> jsregexp_canonrange_; |
1239 ConsStringIteratorOp objects_string_compare_iterator_a_; | 1239 StringInputBuffer objects_string_compare_buffer_a_; |
1240 ConsStringIteratorOp objects_string_compare_iterator_b_; | 1240 StringInputBuffer objects_string_compare_buffer_b_; |
1241 StaticResource<ConsStringIteratorOp> objects_string_iterator_; | 1241 StaticResource<StringInputBuffer> objects_string_input_buffer_; |
1242 unibrow::Mapping<unibrow::Ecma262Canonicalize> | 1242 unibrow::Mapping<unibrow::Ecma262Canonicalize> |
1243 regexp_macro_assembler_canonicalize_; | 1243 regexp_macro_assembler_canonicalize_; |
1244 RegExpStack* regexp_stack_; | 1244 RegExpStack* regexp_stack_; |
1245 DateCache* date_cache_; | 1245 DateCache* date_cache_; |
1246 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; | 1246 unibrow::Mapping<unibrow::Ecma262Canonicalize> interp_canonicalize_mapping_; |
1247 CodeStubInterfaceDescriptor* code_stub_interface_descriptors_; | 1247 CodeStubInterfaceDescriptor* code_stub_interface_descriptors_; |
1248 | 1248 |
1249 // The garbage collector should be a little more aggressive when it knows | 1249 // The garbage collector should be a little more aggressive when it knows |
1250 // that a context was recently exited. | 1250 // that a context was recently exited. |
1251 bool context_exit_happened_; | 1251 bool context_exit_happened_; |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1443 | 1443 |
1444 // Mark the native context with out of memory. | 1444 // Mark the native context with out of memory. |
1445 inline void Context::mark_out_of_memory() { | 1445 inline void Context::mark_out_of_memory() { |
1446 native_context()->set_out_of_memory(HEAP->true_value()); | 1446 native_context()->set_out_of_memory(HEAP->true_value()); |
1447 } | 1447 } |
1448 | 1448 |
1449 | 1449 |
1450 } } // namespace v8::internal | 1450 } } // namespace v8::internal |
1451 | 1451 |
1452 #endif // V8_ISOLATE_H_ | 1452 #endif // V8_ISOLATE_H_ |
OLD | NEW |