| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "src/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #include "src/bootstrapper.h" | 7 #include "src/bootstrapper.h" |
| 8 #include "src/code-stubs.h" | 8 #include "src/code-stubs.h" |
| 9 #include "src/cpu-profiler.h" | 9 #include "src/cpu-profiler.h" |
| 10 #include "src/stub-cache.h" | 10 #include "src/stub-cache.h" |
| (...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 757 } | 757 } |
| 758 | 758 |
| 759 | 759 |
| 760 // static | 760 // static |
| 761 void RegExpConstructResultStub::InstallDescriptors(Isolate* isolate) { | 761 void RegExpConstructResultStub::InstallDescriptors(Isolate* isolate) { |
| 762 RegExpConstructResultStub stub(isolate); | 762 RegExpConstructResultStub stub(isolate); |
| 763 InstallDescriptor(isolate, &stub); | 763 InstallDescriptor(isolate, &stub); |
| 764 } | 764 } |
| 765 | 765 |
| 766 | 766 |
| 767 // static | |
| 768 void KeyedLoadGenericElementStub::InstallDescriptors(Isolate* isolate) { | |
| 769 KeyedLoadGenericElementStub stub(isolate); | |
| 770 InstallDescriptor(isolate, &stub); | |
| 771 } | |
| 772 | |
| 773 | |
| 774 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate) | 767 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate) |
| 775 : PlatformCodeStub(isolate), argument_count_(ANY) { | 768 : PlatformCodeStub(isolate), argument_count_(ANY) { |
| 776 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 769 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
| 777 } | 770 } |
| 778 | 771 |
| 779 | 772 |
| 780 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate, | 773 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate, |
| 781 int argument_count) | 774 int argument_count) |
| 782 : PlatformCodeStub(isolate) { | 775 : PlatformCodeStub(isolate) { |
| 783 if (argument_count == 0) { | 776 if (argument_count == 0) { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 802 InstallDescriptor(isolate, &stub3); | 795 InstallDescriptor(isolate, &stub3); |
| 803 } | 796 } |
| 804 | 797 |
| 805 InternalArrayConstructorStub::InternalArrayConstructorStub( | 798 InternalArrayConstructorStub::InternalArrayConstructorStub( |
| 806 Isolate* isolate) : PlatformCodeStub(isolate) { | 799 Isolate* isolate) : PlatformCodeStub(isolate) { |
| 807 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 800 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
| 808 } | 801 } |
| 809 | 802 |
| 810 | 803 |
| 811 } } // namespace v8::internal | 804 } } // namespace v8::internal |
| OLD | NEW |