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 763 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 |
OLD | NEW |