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 866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
877 } | 877 } |
878 | 878 |
879 | 879 |
880 void NumberToStringStub::InstallDescriptors(Isolate* isolate) { | 880 void NumberToStringStub::InstallDescriptors(Isolate* isolate) { |
881 NumberToStringStub stub(isolate); | 881 NumberToStringStub stub(isolate); |
882 InstallDescriptor(isolate, &stub); | 882 InstallDescriptor(isolate, &stub); |
883 } | 883 } |
884 | 884 |
885 | 885 |
886 void FastNewClosureStub::InstallDescriptors(Isolate* isolate) { | 886 void FastNewClosureStub::InstallDescriptors(Isolate* isolate) { |
887 FastNewClosureStub stub(isolate, STRICT, false); | 887 FastNewClosureStub stub(isolate, STRICT, FunctionKind::kNormalFunction); |
888 InstallDescriptor(isolate, &stub); | 888 InstallDescriptor(isolate, &stub); |
889 } | 889 } |
890 | 890 |
891 | 891 |
892 void FastNewContextStub::InstallDescriptors(Isolate* isolate) { | 892 void FastNewContextStub::InstallDescriptors(Isolate* isolate) { |
893 FastNewContextStub stub(isolate, FastNewContextStub::kMaximumSlots); | 893 FastNewContextStub stub(isolate, FastNewContextStub::kMaximumSlots); |
894 InstallDescriptor(isolate, &stub); | 894 InstallDescriptor(isolate, &stub); |
895 } | 895 } |
896 | 896 |
897 | 897 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
976 InstallDescriptor(isolate, &stub3); | 976 InstallDescriptor(isolate, &stub3); |
977 } | 977 } |
978 | 978 |
979 InternalArrayConstructorStub::InternalArrayConstructorStub( | 979 InternalArrayConstructorStub::InternalArrayConstructorStub( |
980 Isolate* isolate) : PlatformCodeStub(isolate) { | 980 Isolate* isolate) : PlatformCodeStub(isolate) { |
981 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 981 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
982 } | 982 } |
983 | 983 |
984 | 984 |
985 } } // namespace v8::internal | 985 } } // namespace v8::internal |
OLD | NEW |