| 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 2320 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2331     CodeStub::GenerateFPStubs(this); | 2331     CodeStub::GenerateFPStubs(this); | 
| 2332     StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(this); | 2332     StoreBufferOverflowStub::GenerateFixedRegStubsAheadOfTime(this); | 
| 2333     StubFailureTrampolineStub::GenerateAheadOfTime(this); | 2333     StubFailureTrampolineStub::GenerateAheadOfTime(this); | 
| 2334     // TODO(mstarzinger): The following is an ugly hack to make sure the | 2334     // TODO(mstarzinger): The following is an ugly hack to make sure the | 
| 2335     // interface descriptor is initialized even when stubs have been | 2335     // interface descriptor is initialized even when stubs have been | 
| 2336     // deserialized out of the snapshot without the graph builder. | 2336     // deserialized out of the snapshot without the graph builder. | 
| 2337     FastCloneShallowArrayStub stub(FastCloneShallowArrayStub::CLONE_ELEMENTS, | 2337     FastCloneShallowArrayStub stub(FastCloneShallowArrayStub::CLONE_ELEMENTS, | 
| 2338                                    DONT_TRACK_ALLOCATION_SITE, 0); | 2338                                    DONT_TRACK_ALLOCATION_SITE, 0); | 
| 2339     stub.InitializeInterfaceDescriptor( | 2339     stub.InitializeInterfaceDescriptor( | 
| 2340         this, code_stub_interface_descriptor(CodeStub::FastCloneShallowArray)); | 2340         this, code_stub_interface_descriptor(CodeStub::FastCloneShallowArray)); | 
|  | 2341     BinaryOpStub::InitializeForIsolate(this); | 
| 2341     CompareNilICStub::InitializeForIsolate(this); | 2342     CompareNilICStub::InitializeForIsolate(this); | 
| 2342     ToBooleanStub::InitializeForIsolate(this); | 2343     ToBooleanStub::InitializeForIsolate(this); | 
| 2343     ArrayConstructorStubBase::InstallDescriptors(this); | 2344     ArrayConstructorStubBase::InstallDescriptors(this); | 
| 2344     InternalArrayConstructorStubBase::InstallDescriptors(this); | 2345     InternalArrayConstructorStubBase::InstallDescriptors(this); | 
| 2345     FastNewClosureStub::InstallDescriptors(this); | 2346     FastNewClosureStub::InstallDescriptors(this); | 
| 2346   } | 2347   } | 
| 2347 | 2348 | 
| 2348   if (FLAG_sweeper_threads > 0) { | 2349   if (FLAG_sweeper_threads > 0) { | 
| 2349     sweeper_thread_ = new SweeperThread*[FLAG_sweeper_threads]; | 2350     sweeper_thread_ = new SweeperThread*[FLAG_sweeper_threads]; | 
| 2350     for (int i = 0; i < FLAG_sweeper_threads; i++) { | 2351     for (int i = 0; i < FLAG_sweeper_threads; i++) { | 
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2531 | 2532 | 
| 2532 #ifdef DEBUG | 2533 #ifdef DEBUG | 
| 2533 #define ISOLATE_FIELD_OFFSET(type, name, ignored)                       \ | 2534 #define ISOLATE_FIELD_OFFSET(type, name, ignored)                       \ | 
| 2534 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); | 2535 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); | 
| 2535 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) | 2536 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) | 
| 2536 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) | 2537 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) | 
| 2537 #undef ISOLATE_FIELD_OFFSET | 2538 #undef ISOLATE_FIELD_OFFSET | 
| 2538 #endif | 2539 #endif | 
| 2539 | 2540 | 
| 2540 } }  // namespace v8::internal | 2541 } }  // namespace v8::internal | 
| OLD | NEW | 
|---|