| 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 2227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2238 StubFailureTrampolineStub::GenerateAheadOfTime(this); | 2238 StubFailureTrampolineStub::GenerateAheadOfTime(this); |
| 2239 // TODO(mstarzinger): The following is an ugly hack to make sure the | 2239 // TODO(mstarzinger): The following is an ugly hack to make sure the |
| 2240 // interface descriptor is initialized even when stubs have been | 2240 // interface descriptor is initialized even when stubs have been |
| 2241 // deserialized out of the snapshot without the graph builder. | 2241 // deserialized out of the snapshot without the graph builder. |
| 2242 FastCloneShallowArrayStub stub(FastCloneShallowArrayStub::CLONE_ELEMENTS, | 2242 FastCloneShallowArrayStub stub(FastCloneShallowArrayStub::CLONE_ELEMENTS, |
| 2243 DONT_TRACK_ALLOCATION_SITE, 0); | 2243 DONT_TRACK_ALLOCATION_SITE, 0); |
| 2244 stub.InitializeInterfaceDescriptor( | 2244 stub.InitializeInterfaceDescriptor( |
| 2245 this, code_stub_interface_descriptor(CodeStub::FastCloneShallowArray)); | 2245 this, code_stub_interface_descriptor(CodeStub::FastCloneShallowArray)); |
| 2246 CompareNilICStub::InitializeForIsolate(this); | 2246 CompareNilICStub::InitializeForIsolate(this); |
| 2247 ArrayConstructorStubBase::InstallDescriptors(this); | 2247 ArrayConstructorStubBase::InstallDescriptors(this); |
| 2248 InternalArrayConstructorStubBase::InstallDescriptors(this); |
| 2248 } | 2249 } |
| 2249 | 2250 |
| 2250 if (FLAG_parallel_recompilation) optimizing_compiler_thread_.Start(); | 2251 if (FLAG_parallel_recompilation) optimizing_compiler_thread_.Start(); |
| 2251 | 2252 |
| 2252 if (FLAG_parallel_marking && FLAG_marking_threads == 0) { | 2253 if (FLAG_parallel_marking && FLAG_marking_threads == 0) { |
| 2253 FLAG_marking_threads = SystemThreadManager:: | 2254 FLAG_marking_threads = SystemThreadManager:: |
| 2254 NumberOfParallelSystemThreads( | 2255 NumberOfParallelSystemThreads( |
| 2255 SystemThreadManager::PARALLEL_MARKING); | 2256 SystemThreadManager::PARALLEL_MARKING); |
| 2256 } | 2257 } |
| 2257 if (FLAG_marking_threads > 0) { | 2258 if (FLAG_marking_threads > 0) { |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2489 | 2490 |
| 2490 #ifdef DEBUG | 2491 #ifdef DEBUG |
| 2491 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ | 2492 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ |
| 2492 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); | 2493 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); |
| 2493 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) | 2494 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) |
| 2494 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) | 2495 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) |
| 2495 #undef ISOLATE_FIELD_OFFSET | 2496 #undef ISOLATE_FIELD_OFFSET |
| 2496 #endif | 2497 #endif |
| 2497 | 2498 |
| 2498 } } // namespace v8::internal | 2499 } } // namespace v8::internal |
| OLD | NEW |