OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/bootstrapper.h" | 7 #include "src/bootstrapper.h" |
8 #include "src/code-stubs.h" | 8 #include "src/code-stubs.h" |
9 #include "src/cpu-profiler.h" | 9 #include "src/cpu-profiler.h" |
10 #include "src/factory.h" | 10 #include "src/factory.h" |
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
605 descriptor->Initialize(FUNCTION_ADDR(KeyedStoreIC_MissFromStubFailure)); | 605 descriptor->Initialize(FUNCTION_ADDR(KeyedStoreIC_MissFromStubFailure)); |
606 } | 606 } |
607 | 607 |
608 | 608 |
609 void ElementsTransitionAndStoreStub::InitializeDescriptor( | 609 void ElementsTransitionAndStoreStub::InitializeDescriptor( |
610 CodeStubDescriptor* descriptor) { | 610 CodeStubDescriptor* descriptor) { |
611 descriptor->Initialize(FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss)); | 611 descriptor->Initialize(FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss)); |
612 } | 612 } |
613 | 613 |
614 | 614 |
| 615 CallInterfaceDescriptor ExtendStorageStub::GetCallInterfaceDescriptor() { |
| 616 return ExtendStorageDescriptor(isolate()); |
| 617 } |
| 618 |
| 619 |
615 static void InitializeVectorLoadStub(Isolate* isolate, | 620 static void InitializeVectorLoadStub(Isolate* isolate, |
616 CodeStubDescriptor* descriptor, | 621 CodeStubDescriptor* descriptor, |
617 Address deoptimization_handler) { | 622 Address deoptimization_handler) { |
618 DCHECK(FLAG_vector_ics); | 623 DCHECK(FLAG_vector_ics); |
619 descriptor->Initialize(deoptimization_handler); | 624 descriptor->Initialize(deoptimization_handler); |
620 } | 625 } |
621 | 626 |
622 | 627 |
623 void VectorLoadStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { | 628 void VectorLoadStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { |
624 InitializeVectorLoadStub(isolate(), descriptor, | 629 InitializeVectorLoadStub(isolate(), descriptor, |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
952 } | 957 } |
953 | 958 |
954 | 959 |
955 InternalArrayConstructorStub::InternalArrayConstructorStub( | 960 InternalArrayConstructorStub::InternalArrayConstructorStub( |
956 Isolate* isolate) : PlatformCodeStub(isolate) { | 961 Isolate* isolate) : PlatformCodeStub(isolate) { |
957 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 962 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
958 } | 963 } |
959 | 964 |
960 | 965 |
961 } } // namespace v8::internal | 966 } } // namespace v8::internal |
OLD | NEW |