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

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

Issue 1109333003: Use a stub in crankshaft for grow store arrays. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix ARM failure. Created 5 years, 7 months 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 697 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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