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 1617 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1628 keyed_lookup_cache_(NULL), | 1628 keyed_lookup_cache_(NULL), |
1629 context_slot_cache_(NULL), | 1629 context_slot_cache_(NULL), |
1630 descriptor_lookup_cache_(NULL), | 1630 descriptor_lookup_cache_(NULL), |
1631 handle_scope_implementer_(NULL), | 1631 handle_scope_implementer_(NULL), |
1632 unicode_cache_(NULL), | 1632 unicode_cache_(NULL), |
1633 runtime_zone_(this), | 1633 runtime_zone_(this), |
1634 in_use_list_(0), | 1634 in_use_list_(0), |
1635 free_list_(0), | 1635 free_list_(0), |
1636 preallocated_storage_preallocated_(false), | 1636 preallocated_storage_preallocated_(false), |
1637 inner_pointer_to_code_cache_(NULL), | 1637 inner_pointer_to_code_cache_(NULL), |
1638 write_input_buffer_(NULL), | 1638 write_iterator_(NULL), |
1639 global_handles_(NULL), | 1639 global_handles_(NULL), |
1640 context_switcher_(NULL), | 1640 context_switcher_(NULL), |
1641 thread_manager_(NULL), | 1641 thread_manager_(NULL), |
1642 fp_stubs_generated_(false), | 1642 fp_stubs_generated_(false), |
1643 has_installed_extensions_(false), | 1643 has_installed_extensions_(false), |
1644 string_tracker_(NULL), | 1644 string_tracker_(NULL), |
1645 regexp_stack_(NULL), | 1645 regexp_stack_(NULL), |
1646 date_cache_(NULL), | 1646 date_cache_(NULL), |
1647 code_stub_interface_descriptors_(NULL), | 1647 code_stub_interface_descriptors_(NULL), |
1648 context_exit_happened_(false), | 1648 context_exit_happened_(false), |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1839 break_access_ = NULL; | 1839 break_access_ = NULL; |
1840 delete debugger_access_; | 1840 delete debugger_access_; |
1841 debugger_access_ = NULL; | 1841 debugger_access_ = NULL; |
1842 | 1842 |
1843 delete compilation_cache_; | 1843 delete compilation_cache_; |
1844 compilation_cache_ = NULL; | 1844 compilation_cache_ = NULL; |
1845 delete bootstrapper_; | 1845 delete bootstrapper_; |
1846 bootstrapper_ = NULL; | 1846 bootstrapper_ = NULL; |
1847 delete inner_pointer_to_code_cache_; | 1847 delete inner_pointer_to_code_cache_; |
1848 inner_pointer_to_code_cache_ = NULL; | 1848 inner_pointer_to_code_cache_ = NULL; |
1849 delete write_input_buffer_; | 1849 delete write_iterator_; |
1850 write_input_buffer_ = NULL; | 1850 write_iterator_ = NULL; |
1851 | 1851 |
1852 delete context_switcher_; | 1852 delete context_switcher_; |
1853 context_switcher_ = NULL; | 1853 context_switcher_ = NULL; |
1854 delete thread_manager_; | 1854 delete thread_manager_; |
1855 thread_manager_ = NULL; | 1855 thread_manager_ = NULL; |
1856 | 1856 |
1857 delete string_tracker_; | 1857 delete string_tracker_; |
1858 string_tracker_ = NULL; | 1858 string_tracker_ = NULL; |
1859 | 1859 |
1860 delete memory_allocator_; | 1860 delete memory_allocator_; |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1958 | 1958 |
1959 string_tracker_ = new StringTracker(); | 1959 string_tracker_ = new StringTracker(); |
1960 string_tracker_->isolate_ = this; | 1960 string_tracker_->isolate_ = this; |
1961 compilation_cache_ = new CompilationCache(this); | 1961 compilation_cache_ = new CompilationCache(this); |
1962 transcendental_cache_ = new TranscendentalCache(); | 1962 transcendental_cache_ = new TranscendentalCache(); |
1963 keyed_lookup_cache_ = new KeyedLookupCache(); | 1963 keyed_lookup_cache_ = new KeyedLookupCache(); |
1964 context_slot_cache_ = new ContextSlotCache(); | 1964 context_slot_cache_ = new ContextSlotCache(); |
1965 descriptor_lookup_cache_ = new DescriptorLookupCache(); | 1965 descriptor_lookup_cache_ = new DescriptorLookupCache(); |
1966 unicode_cache_ = new UnicodeCache(); | 1966 unicode_cache_ = new UnicodeCache(); |
1967 inner_pointer_to_code_cache_ = new InnerPointerToCodeCache(this); | 1967 inner_pointer_to_code_cache_ = new InnerPointerToCodeCache(this); |
1968 write_input_buffer_ = new StringInputBuffer(); | 1968 write_iterator_ = new ConsStringIteratorOp(); |
1969 global_handles_ = new GlobalHandles(this); | 1969 global_handles_ = new GlobalHandles(this); |
1970 bootstrapper_ = new Bootstrapper(); | 1970 bootstrapper_ = new Bootstrapper(); |
1971 handle_scope_implementer_ = new HandleScopeImplementer(this); | 1971 handle_scope_implementer_ = new HandleScopeImplementer(this); |
1972 stub_cache_ = new StubCache(this, runtime_zone()); | 1972 stub_cache_ = new StubCache(this, runtime_zone()); |
1973 regexp_stack_ = new RegExpStack(); | 1973 regexp_stack_ = new RegExpStack(); |
1974 regexp_stack_->isolate_ = this; | 1974 regexp_stack_->isolate_ = this; |
1975 date_cache_ = new DateCache(); | 1975 date_cache_ = new DateCache(); |
1976 code_stub_interface_descriptors_ = | 1976 code_stub_interface_descriptors_ = |
1977 new CodeStubInterfaceDescriptor[CodeStub::NUMBER_OF_IDS]; | 1977 new CodeStubInterfaceDescriptor[CodeStub::NUMBER_OF_IDS]; |
1978 memset(code_stub_interface_descriptors_, 0, | 1978 memset(code_stub_interface_descriptors_, 0, |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2211 | 2211 |
2212 #ifdef DEBUG | 2212 #ifdef DEBUG |
2213 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ | 2213 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ |
2214 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); | 2214 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); |
2215 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) | 2215 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) |
2216 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) | 2216 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) |
2217 #undef ISOLATE_FIELD_OFFSET | 2217 #undef ISOLATE_FIELD_OFFSET |
2218 #endif | 2218 #endif |
2219 | 2219 |
2220 } } // namespace v8::internal | 2220 } } // namespace v8::internal |
OLD | NEW |