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 666 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
677 | 677 |
678 void CreateAllocationSiteStub::InitializeDescriptor(CodeStubDescriptor* d) {} | 678 void CreateAllocationSiteStub::InitializeDescriptor(CodeStubDescriptor* d) {} |
679 | 679 |
680 | 680 |
681 void CreateWeakCellStub::InitializeDescriptor(CodeStubDescriptor* d) {} | 681 void CreateWeakCellStub::InitializeDescriptor(CodeStubDescriptor* d) {} |
682 | 682 |
683 | 683 |
684 void RegExpConstructResultStub::InitializeDescriptor( | 684 void RegExpConstructResultStub::InitializeDescriptor( |
685 CodeStubDescriptor* descriptor) { | 685 CodeStubDescriptor* descriptor) { |
686 descriptor->Initialize( | 686 descriptor->Initialize( |
687 Runtime::FunctionForId(Runtime::kRegExpConstructResult)->entry); | 687 Runtime::FunctionForId(Runtime::kRegExpConstructResultRT)->entry); |
688 } | 688 } |
689 | 689 |
690 | 690 |
691 void TransitionElementsKindStub::InitializeDescriptor( | 691 void TransitionElementsKindStub::InitializeDescriptor( |
692 CodeStubDescriptor* descriptor) { | 692 CodeStubDescriptor* descriptor) { |
693 descriptor->Initialize( | 693 descriptor->Initialize( |
694 Runtime::FunctionForId(Runtime::kTransitionElementsKind)->entry); | 694 Runtime::FunctionForId(Runtime::kTransitionElementsKind)->entry); |
695 } | 695 } |
696 | 696 |
697 | 697 |
(...skipping 25 matching lines...) Expand all Loading... |
723 } | 723 } |
724 | 724 |
725 | 725 |
726 void BinaryOpWithAllocationSiteStub::InitializeDescriptor( | 726 void BinaryOpWithAllocationSiteStub::InitializeDescriptor( |
727 CodeStubDescriptor* descriptor) { | 727 CodeStubDescriptor* descriptor) { |
728 descriptor->Initialize(FUNCTION_ADDR(BinaryOpIC_MissWithAllocationSite)); | 728 descriptor->Initialize(FUNCTION_ADDR(BinaryOpIC_MissWithAllocationSite)); |
729 } | 729 } |
730 | 730 |
731 | 731 |
732 void StringAddStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { | 732 void StringAddStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { |
733 descriptor->Initialize(Runtime::FunctionForId(Runtime::kStringAdd)->entry); | 733 descriptor->Initialize(Runtime::FunctionForId(Runtime::kStringAddRT)->entry); |
734 } | 734 } |
735 | 735 |
736 | 736 |
737 void CreateAllocationSiteStub::GenerateAheadOfTime(Isolate* isolate) { | 737 void CreateAllocationSiteStub::GenerateAheadOfTime(Isolate* isolate) { |
738 CreateAllocationSiteStub stub(isolate); | 738 CreateAllocationSiteStub stub(isolate); |
739 stub.GetCode(); | 739 stub.GetCode(); |
740 } | 740 } |
741 | 741 |
742 | 742 |
743 void CreateWeakCellStub::GenerateAheadOfTime(Isolate* isolate) { | 743 void CreateWeakCellStub::GenerateAheadOfTime(Isolate* isolate) { |
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
983 } | 983 } |
984 | 984 |
985 | 985 |
986 InternalArrayConstructorStub::InternalArrayConstructorStub( | 986 InternalArrayConstructorStub::InternalArrayConstructorStub( |
987 Isolate* isolate) : PlatformCodeStub(isolate) { | 987 Isolate* isolate) : PlatformCodeStub(isolate) { |
988 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 988 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
989 } | 989 } |
990 | 990 |
991 | 991 |
992 } } // namespace v8::internal | 992 } } // namespace v8::internal |
OLD | NEW |