| 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/factory.h" | 10 #include "src/factory.h" |
| (...skipping 919 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 930 } | 930 } |
| 931 | 931 |
| 932 | 932 |
| 933 // static | 933 // static |
| 934 void KeyedLoadGenericStub::InstallDescriptors(Isolate* isolate) { | 934 void KeyedLoadGenericStub::InstallDescriptors(Isolate* isolate) { |
| 935 KeyedLoadGenericStub stub(isolate); | 935 KeyedLoadGenericStub stub(isolate); |
| 936 InstallDescriptor(isolate, &stub); | 936 InstallDescriptor(isolate, &stub); |
| 937 } | 937 } |
| 938 | 938 |
| 939 | 939 |
| 940 // static |
| 941 void StoreFieldStub::InstallDescriptors(Isolate* isolate) { |
| 942 StoreFieldStub stub(isolate, FieldIndex::ForInObjectOffset(0), |
| 943 Representation::None()); |
| 944 InstallDescriptor(isolate, &stub); |
| 945 } |
| 946 |
| 947 |
| 940 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate) | 948 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate) |
| 941 : PlatformCodeStub(isolate), argument_count_(ANY) { | 949 : PlatformCodeStub(isolate), argument_count_(ANY) { |
| 942 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 950 ArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
| 943 } | 951 } |
| 944 | 952 |
| 945 | 953 |
| 946 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate, | 954 ArrayConstructorStub::ArrayConstructorStub(Isolate* isolate, |
| 947 int argument_count) | 955 int argument_count) |
| 948 : PlatformCodeStub(isolate) { | 956 : PlatformCodeStub(isolate) { |
| 949 if (argument_count == 0) { | 957 if (argument_count == 0) { |
| (...skipping 18 matching lines...) Expand all Loading... |
| 968 InstallDescriptor(isolate, &stub3); | 976 InstallDescriptor(isolate, &stub3); |
| 969 } | 977 } |
| 970 | 978 |
| 971 InternalArrayConstructorStub::InternalArrayConstructorStub( | 979 InternalArrayConstructorStub::InternalArrayConstructorStub( |
| 972 Isolate* isolate) : PlatformCodeStub(isolate) { | 980 Isolate* isolate) : PlatformCodeStub(isolate) { |
| 973 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 981 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
| 974 } | 982 } |
| 975 | 983 |
| 976 | 984 |
| 977 } } // namespace v8::internal | 985 } } // namespace v8::internal |
| OLD | NEW |