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 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
612 | 612 |
613 | 613 |
614 void VectorKeyedLoadStub::InitializeInterfaceDescriptor( | 614 void VectorKeyedLoadStub::InitializeInterfaceDescriptor( |
615 CodeStubInterfaceDescriptor* descriptor) { | 615 CodeStubInterfaceDescriptor* descriptor) { |
616 InitializeVectorLoadStub( | 616 InitializeVectorLoadStub( |
617 isolate(), descriptor, MajorKey(), | 617 isolate(), descriptor, MajorKey(), |
618 FUNCTION_ADDR(VectorKeyedLoadIC_MissFromStubFailure)); | 618 FUNCTION_ADDR(VectorKeyedLoadIC_MissFromStubFailure)); |
619 } | 619 } |
620 | 620 |
621 | 621 |
| 622 void MegamorphicLoadStub::InitializeInterfaceDescriptor( |
| 623 CodeStubInterfaceDescriptor* descriptor) { |
| 624 LoadDescriptor call_descriptor(isolate()); |
| 625 descriptor->Initialize(MajorKey(), call_descriptor); |
| 626 } |
| 627 |
| 628 |
622 void FastNewClosureStub::InitializeInterfaceDescriptor( | 629 void FastNewClosureStub::InitializeInterfaceDescriptor( |
623 CodeStubInterfaceDescriptor* descriptor) { | 630 CodeStubInterfaceDescriptor* descriptor) { |
624 FastNewClosureDescriptor call_descriptor(isolate()); | 631 FastNewClosureDescriptor call_descriptor(isolate()); |
625 descriptor->Initialize( | 632 descriptor->Initialize( |
626 MajorKey(), call_descriptor, | 633 MajorKey(), call_descriptor, |
627 Runtime::FunctionForId(Runtime::kNewClosureFromStubFailure)->entry); | 634 Runtime::FunctionForId(Runtime::kNewClosureFromStubFailure)->entry); |
628 } | 635 } |
629 | 636 |
630 | 637 |
631 void FastNewContextStub::InitializeInterfaceDescriptor( | 638 void FastNewContextStub::InitializeInterfaceDescriptor( |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
985 } | 992 } |
986 | 993 |
987 | 994 |
988 InternalArrayConstructorStub::InternalArrayConstructorStub( | 995 InternalArrayConstructorStub::InternalArrayConstructorStub( |
989 Isolate* isolate) : PlatformCodeStub(isolate) { | 996 Isolate* isolate) : PlatformCodeStub(isolate) { |
990 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 997 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
991 } | 998 } |
992 | 999 |
993 | 1000 |
994 } } // namespace v8::internal | 1001 } } // namespace v8::internal |
OLD | NEW |