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

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

Issue 131483003: Be sure to also register the BinaryOpWithAllocationSiteStub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 11 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/isolate.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 753 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 764
765 765
766 // static 766 // static
767 void BinaryOpICStub::InstallDescriptors(Isolate* isolate) { 767 void BinaryOpICStub::InstallDescriptors(Isolate* isolate) {
768 BinaryOpICStub stub(Token::ADD, NO_OVERWRITE); 768 BinaryOpICStub stub(Token::ADD, NO_OVERWRITE);
769 InstallDescriptor(isolate, &stub); 769 InstallDescriptor(isolate, &stub);
770 } 770 }
771 771
772 772
773 // static 773 // static
774 void BinaryOpWithAllocationSiteStub::InstallDescriptors(Isolate* isolate) {
775 BinaryOpWithAllocationSiteStub stub(Token::ADD, NO_OVERWRITE);
776 InstallDescriptor(isolate, &stub);
777 }
778
779
780 // static
774 void NewStringAddStub::InstallDescriptors(Isolate* isolate) { 781 void NewStringAddStub::InstallDescriptors(Isolate* isolate) {
775 NewStringAddStub stub(STRING_ADD_CHECK_NONE, NOT_TENURED); 782 NewStringAddStub stub(STRING_ADD_CHECK_NONE, NOT_TENURED);
776 InstallDescriptor(isolate, &stub); 783 InstallDescriptor(isolate, &stub);
777 } 784 }
778 785
779 786
780 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate) 787 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate)
781 : argument_count_(ANY) { 788 : argument_count_(ANY) {
782 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 789 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
783 } 790 }
(...skipping 23 matching lines...) Expand all
807 InstallDescriptor(isolate, &stub3); 814 InstallDescriptor(isolate, &stub3);
808 } 815 }
809 816
810 InternalArrayConstructorStub::InternalArrayConstructorStub( 817 InternalArrayConstructorStub::InternalArrayConstructorStub(
811 Isolate* isolate) { 818 Isolate* isolate) {
812 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); 819 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate);
813 } 820 }
814 821
815 822
816 } } // namespace v8::internal 823 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/code-stubs.h ('k') | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698