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 2310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2321 DONT_TRACK_ALLOCATION_SITE, 0); | 2321 DONT_TRACK_ALLOCATION_SITE, 0); |
2322 stub.InitializeInterfaceDescriptor( | 2322 stub.InitializeInterfaceDescriptor( |
2323 this, code_stub_interface_descriptor(CodeStub::FastCloneShallowArray)); | 2323 this, code_stub_interface_descriptor(CodeStub::FastCloneShallowArray)); |
2324 BinaryOpStub::InitializeForIsolate(this); | 2324 BinaryOpStub::InitializeForIsolate(this); |
2325 CompareNilICStub::InitializeForIsolate(this); | 2325 CompareNilICStub::InitializeForIsolate(this); |
2326 ToBooleanStub::InitializeForIsolate(this); | 2326 ToBooleanStub::InitializeForIsolate(this); |
2327 ArrayConstructorStubBase::InstallDescriptors(this); | 2327 ArrayConstructorStubBase::InstallDescriptors(this); |
2328 InternalArrayConstructorStubBase::InstallDescriptors(this); | 2328 InternalArrayConstructorStubBase::InstallDescriptors(this); |
2329 FastNewClosureStub::InstallDescriptors(this); | 2329 FastNewClosureStub::InstallDescriptors(this); |
2330 NumberToStringStub::InstallDescriptors(this); | 2330 NumberToStringStub::InstallDescriptors(this); |
| 2331 NewStringAddStub::InstallDescriptors(this); |
2331 } | 2332 } |
2332 | 2333 |
2333 if (FLAG_sweeper_threads > 0) { | 2334 if (FLAG_sweeper_threads > 0) { |
2334 sweeper_thread_ = new SweeperThread*[FLAG_sweeper_threads]; | 2335 sweeper_thread_ = new SweeperThread*[FLAG_sweeper_threads]; |
2335 for (int i = 0; i < FLAG_sweeper_threads; i++) { | 2336 for (int i = 0; i < FLAG_sweeper_threads; i++) { |
2336 sweeper_thread_[i] = new SweeperThread(this); | 2337 sweeper_thread_[i] = new SweeperThread(this); |
2337 sweeper_thread_[i]->Start(); | 2338 sweeper_thread_[i]->Start(); |
2338 } | 2339 } |
2339 } | 2340 } |
2340 | 2341 |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2516 | 2517 |
2517 #ifdef DEBUG | 2518 #ifdef DEBUG |
2518 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ | 2519 #define ISOLATE_FIELD_OFFSET(type, name, ignored) \ |
2519 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); | 2520 const intptr_t Isolate::name##_debug_offset_ = OFFSET_OF(Isolate, name##_); |
2520 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) | 2521 ISOLATE_INIT_LIST(ISOLATE_FIELD_OFFSET) |
2521 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) | 2522 ISOLATE_INIT_ARRAY_LIST(ISOLATE_FIELD_OFFSET) |
2522 #undef ISOLATE_FIELD_OFFSET | 2523 #undef ISOLATE_FIELD_OFFSET |
2523 #endif | 2524 #endif |
2524 | 2525 |
2525 } } // namespace v8::internal | 2526 } } // namespace v8::internal |
OLD | NEW |