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 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
741 } | 741 } |
742 | 742 |
743 | 743 |
744 void FastNewContextStub::InstallDescriptors(Isolate* isolate) { | 744 void FastNewContextStub::InstallDescriptors(Isolate* isolate) { |
745 FastNewContextStub stub(FastNewContextStub::kMaximumSlots); | 745 FastNewContextStub stub(FastNewContextStub::kMaximumSlots); |
746 InstallDescriptor(isolate, &stub); | 746 InstallDescriptor(isolate, &stub); |
747 } | 747 } |
748 | 748 |
749 | 749 |
750 // static | 750 // static |
| 751 void FastCloneShallowArrayStub::InstallDescriptors(Isolate* isolate) { |
| 752 FastCloneShallowArrayStub stub(FastCloneShallowArrayStub::CLONE_ELEMENTS, |
| 753 DONT_TRACK_ALLOCATION_SITE, 0); |
| 754 InstallDescriptor(isolate, &stub); |
| 755 } |
| 756 |
| 757 |
| 758 // static |
751 void BinaryOpICStub::InstallDescriptors(Isolate* isolate) { | 759 void BinaryOpICStub::InstallDescriptors(Isolate* isolate) { |
752 BinaryOpICStub stub(Token::ADD, NO_OVERWRITE); | 760 BinaryOpICStub stub(Token::ADD, NO_OVERWRITE); |
753 InstallDescriptor(isolate, &stub); | 761 InstallDescriptor(isolate, &stub); |
754 } | 762 } |
755 | 763 |
756 | 764 |
757 // static | 765 // static |
758 void BinaryOpWithAllocationSiteStub::InstallDescriptors(Isolate* isolate) { | 766 void BinaryOpWithAllocationSiteStub::InstallDescriptors(Isolate* isolate) { |
759 BinaryOpWithAllocationSiteStub stub(Token::ADD, NO_OVERWRITE); | 767 BinaryOpWithAllocationSiteStub stub(Token::ADD, NO_OVERWRITE); |
760 InstallDescriptor(isolate, &stub); | 768 InstallDescriptor(isolate, &stub); |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
805 InstallDescriptor(isolate, &stub3); | 813 InstallDescriptor(isolate, &stub3); |
806 } | 814 } |
807 | 815 |
808 InternalArrayConstructorStub::InternalArrayConstructorStub( | 816 InternalArrayConstructorStub::InternalArrayConstructorStub( |
809 Isolate* isolate) { | 817 Isolate* isolate) { |
810 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 818 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
811 } | 819 } |
812 | 820 |
813 | 821 |
814 } } // namespace v8::internal | 822 } } // namespace v8::internal |
OLD | NEW |