| 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 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 708 CodeStubDescriptor* descriptor) { | 708 CodeStubDescriptor* descriptor) { |
| 709 descriptor->Initialize(FUNCTION_ADDR(BinaryOpIC_MissWithAllocationSite)); | 709 descriptor->Initialize(FUNCTION_ADDR(BinaryOpIC_MissWithAllocationSite)); |
| 710 } | 710 } |
| 711 | 711 |
| 712 | 712 |
| 713 void StringAddStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { | 713 void StringAddStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { |
| 714 descriptor->Initialize(Runtime::FunctionForId(Runtime::kStringAddRT)->entry); | 714 descriptor->Initialize(Runtime::FunctionForId(Runtime::kStringAddRT)->entry); |
| 715 } | 715 } |
| 716 | 716 |
| 717 | 717 |
| 718 void GrowArrayElementsStub::InitializeDescriptor( |
| 719 CodeStubDescriptor* descriptor) { |
| 720 descriptor->Initialize( |
| 721 Runtime::FunctionForId(Runtime::kGrowArrayElements)->entry); |
| 722 } |
| 723 |
| 724 |
| 718 void CreateAllocationSiteStub::GenerateAheadOfTime(Isolate* isolate) { | 725 void CreateAllocationSiteStub::GenerateAheadOfTime(Isolate* isolate) { |
| 719 CreateAllocationSiteStub stub(isolate); | 726 CreateAllocationSiteStub stub(isolate); |
| 720 stub.GetCode(); | 727 stub.GetCode(); |
| 721 } | 728 } |
| 722 | 729 |
| 723 | 730 |
| 724 void CreateWeakCellStub::GenerateAheadOfTime(Isolate* isolate) { | 731 void CreateWeakCellStub::GenerateAheadOfTime(Isolate* isolate) { |
| 725 CreateWeakCellStub stub(isolate); | 732 CreateWeakCellStub stub(isolate); |
| 726 stub.GetCode(); | 733 stub.GetCode(); |
| 727 } | 734 } |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 979 } | 986 } |
| 980 | 987 |
| 981 | 988 |
| 982 InternalArrayConstructorStub::InternalArrayConstructorStub( | 989 InternalArrayConstructorStub::InternalArrayConstructorStub( |
| 983 Isolate* isolate) : PlatformCodeStub(isolate) { | 990 Isolate* isolate) : PlatformCodeStub(isolate) { |
| 984 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 991 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
| 985 } | 992 } |
| 986 | 993 |
| 987 | 994 |
| 988 } } // namespace v8::internal | 995 } } // namespace v8::internal |
| OLD | NEW |