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 1760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1771 transcendental_cache_ = new TranscendentalCache(); | 1771 transcendental_cache_ = new TranscendentalCache(); |
1772 keyed_lookup_cache_ = new KeyedLookupCache(); | 1772 keyed_lookup_cache_ = new KeyedLookupCache(); |
1773 context_slot_cache_ = new ContextSlotCache(); | 1773 context_slot_cache_ = new ContextSlotCache(); |
1774 descriptor_lookup_cache_ = new DescriptorLookupCache(); | 1774 descriptor_lookup_cache_ = new DescriptorLookupCache(); |
1775 unicode_cache_ = new UnicodeCache(); | 1775 unicode_cache_ = new UnicodeCache(); |
1776 inner_pointer_to_code_cache_ = new InnerPointerToCodeCache(this); | 1776 inner_pointer_to_code_cache_ = new InnerPointerToCodeCache(this); |
1777 write_input_buffer_ = new StringInputBuffer(); | 1777 write_input_buffer_ = new StringInputBuffer(); |
1778 global_handles_ = new GlobalHandles(this); | 1778 global_handles_ = new GlobalHandles(this); |
1779 bootstrapper_ = new Bootstrapper(); | 1779 bootstrapper_ = new Bootstrapper(); |
1780 handle_scope_implementer_ = new HandleScopeImplementer(this); | 1780 handle_scope_implementer_ = new HandleScopeImplementer(this); |
1781 stub_cache_ = new StubCache(this); | 1781 stub_cache_ = new StubCache(this, zone()); |
1782 regexp_stack_ = new RegExpStack(); | 1782 regexp_stack_ = new RegExpStack(); |
1783 regexp_stack_->isolate_ = this; | 1783 regexp_stack_->isolate_ = this; |
1784 date_cache_ = new DateCache(); | 1784 date_cache_ = new DateCache(); |
1785 | 1785 |
1786 // Enable logging before setting up the heap | 1786 // Enable logging before setting up the heap |
1787 logger_->SetUp(); | 1787 logger_->SetUp(); |
1788 | 1788 |
1789 CpuProfiler::SetUp(); | 1789 CpuProfiler::SetUp(); |
1790 HeapProfiler::SetUp(); | 1790 HeapProfiler::SetUp(); |
1791 | 1791 |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1961 | 1961 |
1962 #ifdef DEBUG | 1962 #ifdef DEBUG |
1963 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ | 1963 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ |
1964 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); | 1964 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); |
1965 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) | 1965 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) |
1966 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) | 1966 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) |
1967 #undef ISOLATE_FIELD_OFFSET | 1967 #undef ISOLATE_FIELD_OFFSET |
1968 #endif | 1968 #endif |
1969 | 1969 |
1970 } } // namespace v8::internal | 1970 } } // namespace v8::internal |
OLD | NEW |