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

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

Issue 609463003: Hydrogenize (and share) part of StoreTransition handler as a StoreTransitionStub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Further simplification Created 6 years, 2 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 | Annotate | Revision Log
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/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 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 descriptor->Initialize(FUNCTION_ADDR(KeyedStoreIC_MissFromStubFailure)); 605 descriptor->Initialize(FUNCTION_ADDR(KeyedStoreIC_MissFromStubFailure));
606 } 606 }
607 607
608 608
609 void ElementsTransitionAndStoreStub::InitializeDescriptor( 609 void ElementsTransitionAndStoreStub::InitializeDescriptor(
610 CodeStubDescriptor* descriptor) { 610 CodeStubDescriptor* descriptor) {
611 descriptor->Initialize(FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss)); 611 descriptor->Initialize(FUNCTION_ADDR(ElementsTransitionAndStoreIC_Miss));
612 } 612 }
613 613
614 614
615 CallInterfaceDescriptor ExtendStorageStub::GetCallInterfaceDescriptor() { 615 CallInterfaceDescriptor StoreTransitionStub::GetCallInterfaceDescriptor() {
616 return ExtendStorageDescriptor(isolate()); 616 return StoreTransitionDescriptor(isolate());
617 } 617 }
618 618
619 619
620 static void InitializeVectorLoadStub(Isolate* isolate, 620 static void InitializeVectorLoadStub(Isolate* isolate,
621 CodeStubDescriptor* descriptor, 621 CodeStubDescriptor* descriptor,
622 Address deoptimization_handler) { 622 Address deoptimization_handler) {
623 DCHECK(FLAG_vector_ics); 623 DCHECK(FLAG_vector_ics);
624 descriptor->Initialize(deoptimization_handler); 624 descriptor->Initialize(deoptimization_handler);
625 } 625 }
626 626
(...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after
957 } 957 }
958 958
959 959
960 InternalArrayConstructorStub::InternalArrayConstructorStub( 960 InternalArrayConstructorStub::InternalArrayConstructorStub(
961 Isolate* isolate) : PlatformCodeStub(isolate) { 961 Isolate* isolate) : PlatformCodeStub(isolate) {
962 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 962 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
963 } 963 }
964 964
965 965
966 } } // namespace v8::internal 966 } } // namespace v8::internal
OLDNEW
« src/code-stubs.h ('K') | « 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