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

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

Issue 331633002: Revert "Revert "Reland 21774: Generate KeyedLoadGeneric with Hydrogen"" (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 6 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/stub-cache.h" 10 #include "src/stub-cache.h"
(...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after
757 } 757 }
758 758
759 759
760 // static 760 // static
761 void RegExpConstructResultStub::InstallDescriptors(Isolate* isolate) { 761 void RegExpConstructResultStub::InstallDescriptors(Isolate* isolate) {
762 RegExpConstructResultStub stub(isolate); 762 RegExpConstructResultStub stub(isolate);
763 InstallDescriptor(isolate, &stub); 763 InstallDescriptor(isolate, &stub);
764 } 764 }
765 765
766 766
767 // static
768 void KeyedLoadGenericElementStub::InstallDescriptors(Isolate* isolate) {
769 KeyedLoadGenericElementStub stub(isolate);
770 InstallDescriptor(isolate, &stub);
771 }
772
773
767 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate) 774 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate)
768 : PlatformCodeStub(isolate), argument_count_(ANY) { 775 : PlatformCodeStub(isolate), argument_count_(ANY) {
769 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 776 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
770 } 777 }
771 778
772 779
773 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate, 780 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate,
774 int argument_count) 781 int argument_count)
775 : PlatformCodeStub(isolate) { 782 : PlatformCodeStub(isolate) {
776 if (argument_count == 0) { 783 if (argument_count == 0) {
(...skipping 18 matching lines...) Expand all
795 InstallDescriptor(isolate, &stub3); 802 InstallDescriptor(isolate, &stub3);
796 } 803 }
797 804
798 InternalArrayConstructorStub::InternalArrayConstructorStub( 805 InternalArrayConstructorStub::InternalArrayConstructorStub(
799 Isolate* isolate) : PlatformCodeStub(isolate) { 806 Isolate* isolate) : PlatformCodeStub(isolate) {
800 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 807 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
801 } 808 }
802 809
803 810
804 } } // namespace v8::internal 811 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/code-stubs.h ('k') | src/code-stubs-hydrogen.cc » ('j') | src/hydrogen-instructions.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698