OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |