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 1511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1522 bootstrapper_(NULL), | 1522 bootstrapper_(NULL), |
1523 runtime_profiler_(NULL), | 1523 runtime_profiler_(NULL), |
1524 compilation_cache_(NULL), | 1524 compilation_cache_(NULL), |
1525 counters_(NULL), | 1525 counters_(NULL), |
1526 code_range_(NULL), | 1526 code_range_(NULL), |
1527 debugger_initialized_(false), | 1527 debugger_initialized_(false), |
1528 logger_(NULL), | 1528 logger_(NULL), |
1529 stats_table_(NULL), | 1529 stats_table_(NULL), |
1530 stub_cache_(NULL), | 1530 stub_cache_(NULL), |
1531 deoptimizer_data_(NULL), | 1531 deoptimizer_data_(NULL), |
| 1532 materialized_object_store_(NULL), |
1532 capture_stack_trace_for_uncaught_exceptions_(false), | 1533 capture_stack_trace_for_uncaught_exceptions_(false), |
1533 stack_trace_for_uncaught_exceptions_frame_limit_(0), | 1534 stack_trace_for_uncaught_exceptions_frame_limit_(0), |
1534 stack_trace_for_uncaught_exceptions_options_(StackTrace::kOverview), | 1535 stack_trace_for_uncaught_exceptions_options_(StackTrace::kOverview), |
1535 memory_allocator_(NULL), | 1536 memory_allocator_(NULL), |
1536 keyed_lookup_cache_(NULL), | 1537 keyed_lookup_cache_(NULL), |
1537 context_slot_cache_(NULL), | 1538 context_slot_cache_(NULL), |
1538 descriptor_lookup_cache_(NULL), | 1539 descriptor_lookup_cache_(NULL), |
1539 handle_scope_implementer_(NULL), | 1540 handle_scope_implementer_(NULL), |
1540 unicode_cache_(NULL), | 1541 unicode_cache_(NULL), |
1541 runtime_zone_(this), | 1542 runtime_zone_(this), |
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1770 delete context_slot_cache_; | 1771 delete context_slot_cache_; |
1771 context_slot_cache_ = NULL; | 1772 context_slot_cache_ = NULL; |
1772 delete keyed_lookup_cache_; | 1773 delete keyed_lookup_cache_; |
1773 keyed_lookup_cache_ = NULL; | 1774 keyed_lookup_cache_ = NULL; |
1774 | 1775 |
1775 delete stub_cache_; | 1776 delete stub_cache_; |
1776 stub_cache_ = NULL; | 1777 stub_cache_ = NULL; |
1777 delete stats_table_; | 1778 delete stats_table_; |
1778 stats_table_ = NULL; | 1779 stats_table_ = NULL; |
1779 | 1780 |
| 1781 delete materialized_object_store_; |
| 1782 materialized_object_store_ = NULL; |
| 1783 |
1780 delete logger_; | 1784 delete logger_; |
1781 logger_ = NULL; | 1785 logger_ = NULL; |
1782 | 1786 |
1783 delete counters_; | 1787 delete counters_; |
1784 counters_ = NULL; | 1788 counters_ = NULL; |
1785 | 1789 |
1786 delete handle_scope_implementer_; | 1790 delete handle_scope_implementer_; |
1787 handle_scope_implementer_ = NULL; | 1791 handle_scope_implementer_ = NULL; |
1788 | 1792 |
1789 delete compilation_cache_; | 1793 delete compilation_cache_; |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1940 context_slot_cache_ = new ContextSlotCache(); | 1944 context_slot_cache_ = new ContextSlotCache(); |
1941 descriptor_lookup_cache_ = new DescriptorLookupCache(); | 1945 descriptor_lookup_cache_ = new DescriptorLookupCache(); |
1942 unicode_cache_ = new UnicodeCache(); | 1946 unicode_cache_ = new UnicodeCache(); |
1943 inner_pointer_to_code_cache_ = new InnerPointerToCodeCache(this); | 1947 inner_pointer_to_code_cache_ = new InnerPointerToCodeCache(this); |
1944 write_iterator_ = new ConsStringIteratorOp(); | 1948 write_iterator_ = new ConsStringIteratorOp(); |
1945 global_handles_ = new GlobalHandles(this); | 1949 global_handles_ = new GlobalHandles(this); |
1946 eternal_handles_ = new EternalHandles(); | 1950 eternal_handles_ = new EternalHandles(); |
1947 bootstrapper_ = new Bootstrapper(this); | 1951 bootstrapper_ = new Bootstrapper(this); |
1948 handle_scope_implementer_ = new HandleScopeImplementer(this); | 1952 handle_scope_implementer_ = new HandleScopeImplementer(this); |
1949 stub_cache_ = new StubCache(this); | 1953 stub_cache_ = new StubCache(this); |
| 1954 materialized_object_store_ = new MaterializedObjectStore(this); |
1950 regexp_stack_ = new RegExpStack(); | 1955 regexp_stack_ = new RegExpStack(); |
1951 regexp_stack_->isolate_ = this; | 1956 regexp_stack_->isolate_ = this; |
1952 date_cache_ = new DateCache(); | 1957 date_cache_ = new DateCache(); |
1953 code_stub_interface_descriptors_ = | 1958 code_stub_interface_descriptors_ = |
1954 new CodeStubInterfaceDescriptor[CodeStub::NUMBER_OF_IDS]; | 1959 new CodeStubInterfaceDescriptor[CodeStub::NUMBER_OF_IDS]; |
1955 call_descriptors_ = | 1960 call_descriptors_ = |
1956 new CallInterfaceDescriptor[NUMBER_OF_CALL_DESCRIPTORS]; | 1961 new CallInterfaceDescriptor[NUMBER_OF_CALL_DESCRIPTORS]; |
1957 cpu_profiler_ = new CpuProfiler(this); | 1962 cpu_profiler_ = new CpuProfiler(this); |
1958 heap_profiler_ = new HeapProfiler(heap()); | 1963 heap_profiler_ = new HeapProfiler(heap()); |
1959 | 1964 |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2309 | 2314 |
2310 #ifdef DEBUG | 2315 #ifdef DEBUG |
2311 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ | 2316 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ |
2312 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); | 2317 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); |
2313 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) | 2318 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) |
2314 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) | 2319 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) |
2315 #undef ISOLATE_FIELD_OFFSET | 2320 #undef ISOLATE_FIELD_OFFSET |
2316 #endif | 2321 #endif |
2317 | 2322 |
2318 } } // namespace v8::internal | 2323 } } // namespace v8::internal |
OLD | NEW |