| 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 2300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2311 CodeStub::GenerateFPStubs(this); | 2311 CodeStub::GenerateFPStubs(this); |
| 2312 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(this); | 2312 StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(this); |
| 2313 StubFailureTrampolineStub::GenerateAheadOfTime(this); | 2313 StubFailureTrampolineStub::GenerateAheadOfTime(this); |
| 2314 // TODO(mstarzinger): The following is an ugly hack to make sure the | 2314 // TODO(mstarzinger): The following is an ugly hack to make sure the |
| 2315 // interface descriptor is initialized even when stubs have been | 2315 // interface descriptor is initialized even when stubs have been |
| 2316 // deserialized out of the snapshot without the graph builder. | 2316 // deserialized out of the snapshot without the graph builder. |
| 2317 FastCloneShallowArrayStub stub(FastCloneShallowArrayStub::CLONE_ELEMENTS, | 2317 FastCloneShallowArrayStub stub(FastCloneShallowArrayStub::CLONE_ELEMENTS, |
| 2318 DONT_TRACK_ALLOCATION_SITE, 0); | 2318 DONT_TRACK_ALLOCATION_SITE, 0); |
| 2319 stub.InitializeInterfaceDescriptor( | 2319 stub.InitializeInterfaceDescriptor( |
| 2320 this, code_stub_interface_descriptor(CodeStub::FastCloneShallowArray)); | 2320 this, code_stub_interface_descriptor(CodeStub::FastCloneShallowArray)); |
| 2321 BinaryOpStub binopStub(Token::ADD); |
| 2322 binopStub.InitializeInterfaceDescriptor( |
| 2323 this, code_stub_interface_descriptor(CodeStub::BinaryOp)); |
| 2321 CompareNilICStub::InitializeForIsolate(this); | 2324 CompareNilICStub::InitializeForIsolate(this); |
| 2322 ToBooleanStub::InitializeForIsolate(this); | 2325 ToBooleanStub::InitializeForIsolate(this); |
| 2323 ArrayConstructorStubBase::InstallDescriptors(this); | 2326 ArrayConstructorStubBase::InstallDescriptors(this); |
| 2324 InternalArrayConstructorStubBase::InstallDescriptors(this); | 2327 InternalArrayConstructorStubBase::InstallDescriptors(this); |
| 2325 FastNewClosureStub::InstallDescriptors(this); | 2328 FastNewClosureStub::InstallDescriptors(this); |
| 2326 } | 2329 } |
| 2327 | 2330 |
| 2328 if (FLAG_concurrent_recompilation) optimizing_compiler_thread_.Start(); | 2331 if (FLAG_concurrent_recompilation) optimizing_compiler_thread_.Start(); |
| 2329 | 2332 |
| 2330 if (FLAG_marking_threads > 0) { | 2333 if (FLAG_marking_threads > 0) { |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2521 | 2524 |
| 2522 #ifdef DEBUG | 2525 #ifdef DEBUG |
| 2523 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ | 2526 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ |
| 2524 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); | 2527 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); |
| 2525 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) | 2528 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) |
| 2526 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) | 2529 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) |
| 2527 #undef ISOLATE_FIELD_OFFSET | 2530 #undef ISOLATE_FIELD_OFFSET |
| 2528 #endif | 2531 #endif |
| 2529 | 2532 |
| 2530 } } // namespace v8::internal | 2533 } } // namespace v8::internal |
| OLD | NEW |