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/code-stubs.h" | 5 #include "src/code-stubs.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #include "src/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
10 #include "src/cpu-profiler.h" | 10 #include "src/cpu-profiler.h" |
(...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
609 descriptor->Initialize(FUNCTION_ADDR(KeyedStoreIC_MissFromStubFailure)); | 609 descriptor->Initialize(FUNCTION_ADDR(KeyedStoreIC_MissFromStubFailure)); |
610 } | 610 } |
611 | 611 |
612 | 612 |
613 void ElementsTransitionAndStoreStub::InitializeDescriptor( | 613 void ElementsTransitionAndStoreStub::InitializeDescriptor( |
614 CodeStubDescriptor* descriptor) { | 614 CodeStubDescriptor* descriptor) { |
615 descriptor->Initialize(FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss)); | 615 descriptor->Initialize(FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss)); |
616 } | 616 } |
617 | 617 |
618 | 618 |
619 CallInterfaceDescriptor ExtendStorageStub::GetCallInterfaceDescriptor() { | 619 CallInterfaceDescriptor StoreTransitionStub::GetCallInterfaceDescriptor() { |
620 return ExtendStorageDescriptor(isolate()); | 620 return StoreTransitionDescriptor(isolate()); |
621 } | 621 } |
622 | 622 |
623 | 623 |
624 static void InitializeVectorLoadStub(Isolate* isolate, | 624 static void InitializeVectorLoadStub(Isolate* isolate, |
625 CodeStubDescriptor* descriptor, | 625 CodeStubDescriptor* descriptor, |
626 Address deoptimization_handler) { | 626 Address deoptimization_handler) { |
627 DCHECK(FLAG_vector_ics); | 627 DCHECK(FLAG_vector_ics); |
628 descriptor->Initialize(deoptimization_handler); | 628 descriptor->Initialize(deoptimization_handler); |
629 } | 629 } |
630 | 630 |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
962 } | 962 } |
963 | 963 |
964 | 964 |
965 InternalArrayConstructorStub::InternalArrayConstructorStub( | 965 InternalArrayConstructorStub::InternalArrayConstructorStub( |
966 Isolate* isolate) : PlatformCodeStub(isolate) { | 966 Isolate* isolate) : PlatformCodeStub(isolate) { |
967 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 967 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
968 } | 968 } |
969 | 969 |
970 | 970 |
971 } } // namespace v8::internal | 971 } } // namespace v8::internal |
OLD | NEW |