Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(529)

Side by Side Diff: src/code-stubs.cc

Issue 735323002: Revert "Re-land r25392 Use a stub in crankshaft for grow store arrays." (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Ports. Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/code-stubs.h ('k') | src/code-stubs-hydrogen.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 715 matching lines...) Expand 10 before | Expand all | Expand 10 after
726 CodeStubDescriptor* descriptor) { 726 CodeStubDescriptor* descriptor) {
727 descriptor->Initialize(FUNCTION_ADDR(BinaryOpIC_MissWithAllocationSite)); 727 descriptor->Initialize(FUNCTION_ADDR(BinaryOpIC_MissWithAllocationSite));
728 } 728 }
729 729
730 730
731 void StringAddStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { 731 void StringAddStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {
732 descriptor->Initialize(Runtime::FunctionForId(Runtime::kStringAdd)->entry); 732 descriptor->Initialize(Runtime::FunctionForId(Runtime::kStringAdd)->entry);
733 } 733 }
734 734
735 735
736 void GrowArrayElementsStub::InitializeDescriptor(
737 CodeStubDescriptor* descriptor) {
738 descriptor->Initialize(
739 Runtime::FunctionForId(Runtime::kGrowArrayElements)->entry);
740 }
741
742
743 void CreateAllocationSiteStub::GenerateAheadOfTime(Isolate* isolate) { 736 void CreateAllocationSiteStub::GenerateAheadOfTime(Isolate* isolate) {
744 CreateAllocationSiteStub stub(isolate); 737 CreateAllocationSiteStub stub(isolate);
745 stub.GetCode(); 738 stub.GetCode();
746 } 739 }
747 740
748 741
749 void StoreElementStub::Generate(MacroAssembler* masm) { 742 void StoreElementStub::Generate(MacroAssembler* masm) {
750 switch (elements_kind()) { 743 switch (elements_kind()) {
751 case FAST_ELEMENTS: 744 case FAST_ELEMENTS:
752 case FAST_HOLEY_ELEMENTS: 745 case FAST_HOLEY_ELEMENTS:
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
973 } 966 }
974 967
975 968
976 InternalArrayConstructorStub::InternalArrayConstructorStub( 969 InternalArrayConstructorStub::InternalArrayConstructorStub(
977 Isolate* isolate) : PlatformCodeStub(isolate) { 970 Isolate* isolate) : PlatformCodeStub(isolate) {
978 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 971 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
979 } 972 }
980 973
981 974
982 } } // namespace v8::internal 975 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/code-stubs.h ('k') | src/code-stubs-hydrogen.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698