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

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

Issue 141703018: Turn RegExpConstructResultStub into a HydrogenCodeStub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: REBASE Created 6 years, 10 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
« 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 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 763 matching lines...) Expand 10 before | Expand all | Expand 10 after
774 } 774 }
775 775
776 776
777 // static 777 // static
778 void StringAddStub::InstallDescriptors(Isolate* isolate) { 778 void StringAddStub::InstallDescriptors(Isolate* isolate) {
779 StringAddStub stub(STRING_ADD_CHECK_NONE, NOT_TENURED); 779 StringAddStub stub(STRING_ADD_CHECK_NONE, NOT_TENURED);
780 InstallDescriptor(isolate, &stub); 780 InstallDescriptor(isolate, &stub);
781 } 781 }
782 782
783 783
784 // static
785 void RegExpConstructResultStub::InstallDescriptors(Isolate* isolate) {
786 RegExpConstructResultStub stub;
787 InstallDescriptor(isolate, &stub);
788 }
789
790
784 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate) 791 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate)
785 : argument_count_(ANY) { 792 : argument_count_(ANY) {
786 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 793 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
787 } 794 }
788 795
789 796
790 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate, 797 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate,
791 int argument_count) { 798 int argument_count) {
792 if (argument_count == 0) { 799 if (argument_count == 0) {
793 argument_count_ = NONE; 800 argument_count_ = NONE;
(...skipping 17 matching lines...) Expand all
811 InstallDescriptor(isolate, &stub3); 818 InstallDescriptor(isolate, &stub3);
812 } 819 }
813 820
814 InternalArrayConstructorStub::InternalArrayConstructorStub( 821 InternalArrayConstructorStub::InternalArrayConstructorStub(
815 Isolate* isolate) { 822 Isolate* isolate) {
816 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 823 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
817 } 824 }
818 825
819 826
820 } } // namespace v8::internal 827 } } // 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