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 2202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2213 CodeStub::GenerateFPStubs(this); | 2213 CodeStub::GenerateFPStubs(this); |
2214 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(this); | 2214 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(this); |
2215 StubFailureTrampolineStub::GenerateAheadOfTime(this); | 2215 StubFailureTrampolineStub::GenerateAheadOfTime(this); |
2216 // TODO(mstarzinger): The following is an ugly hack to make sure the | 2216 // TODO(mstarzinger): The following is an ugly hack to make sure the |
2217 // interface descriptor is initialized even when stubs have been | 2217 // interface descriptor is initialized even when stubs have been |
2218 // deserialized out of the snapshot without the graph builder. | 2218 // deserialized out of the snapshot without the graph builder. |
2219 FastCloneShallowArrayStub stub(FastCloneShallowArrayStub::CLONE_ELEMENTS, | 2219 FastCloneShallowArrayStub stub(FastCloneShallowArrayStub::CLONE_ELEMENTS, |
2220 DONT_TRACK_ALLOCATION_SITE, 0); | 2220 DONT_TRACK_ALLOCATION_SITE, 0); |
2221 stub.InitializeInterfaceDescriptor( | 2221 stub.InitializeInterfaceDescriptor( |
2222 this, code_stub_interface_descriptor(CodeStub::FastCloneShallowArray)); | 2222 this, code_stub_interface_descriptor(CodeStub::FastCloneShallowArray)); |
| 2223 |
| 2224 ArrayConstructorStubBase::InstallDescriptors(this); |
2223 } | 2225 } |
2224 | 2226 |
2225 if (FLAG_parallel_recompilation) optimizing_compiler_thread_.Start(); | 2227 if (FLAG_parallel_recompilation) optimizing_compiler_thread_.Start(); |
2226 | 2228 |
2227 if (FLAG_parallel_marking && FLAG_marking_threads == 0) { | 2229 if (FLAG_parallel_marking && FLAG_marking_threads == 0) { |
2228 FLAG_marking_threads = SystemThreadManager:: | 2230 FLAG_marking_threads = SystemThreadManager:: |
2229 NumberOfParallelSystemThreads( | 2231 NumberOfParallelSystemThreads( |
2230 SystemThreadManager::PARALLEL_MARKING); | 2232 SystemThreadManager::PARALLEL_MARKING); |
2231 } | 2233 } |
2232 if (FLAG_marking_threads > 0) { | 2234 if (FLAG_marking_threads > 0) { |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2425 | 2427 |
2426 #ifdef DEBUG | 2428 #ifdef DEBUG |
2427 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ | 2429 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ |
2428 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); | 2430 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); |
2429 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) | 2431 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) |
2430 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) | 2432 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) |
2431 #undef ISOLATE_FIELD_OFFSET | 2433 #undef ISOLATE_FIELD_OFFSET |
2432 #endif | 2434 #endif |
2433 | 2435 |
2434 } } // namespace v8::internal | 2436 } } // namespace v8::internal |
OLD | NEW |