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/code-stubs.h" | 5 #include "src/code-stubs.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #include "src/bootstrapper.h" | 9 #include "src/bootstrapper.h" |
10 #include "src/cpu-profiler.h" | 10 #include "src/cpu-profiler.h" |
(...skipping 636 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
647 | 647 |
648 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { | 648 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { |
649 descriptor->Initialize( | 649 descriptor->Initialize( |
650 Runtime::FunctionForId(Runtime::kNewClosureFromStubFailure)->entry); | 650 Runtime::FunctionForId(Runtime::kNewClosureFromStubFailure)->entry); |
651 } | 651 } |
652 | 652 |
653 | 653 |
654 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {} | 654 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {} |
655 | 655 |
656 | 656 |
657 void ToNumberStub::InitializeDescriptor(CodeStubDescriptor* d) {} | |
658 | |
659 | |
660 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { | 657 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { |
661 NumberToStringDescriptor call_descriptor(isolate()); | 658 NumberToStringDescriptor call_descriptor(isolate()); |
662 descriptor->Initialize( | 659 descriptor->Initialize( |
663 Runtime::FunctionForId(Runtime::kNumberToStringRT)->entry); | 660 Runtime::FunctionForId(Runtime::kNumberToStringRT)->entry); |
664 } | 661 } |
665 | 662 |
666 | 663 |
667 void FastCloneShallowArrayStub::InitializeDescriptor( | 664 void FastCloneShallowArrayStub::InitializeDescriptor( |
668 CodeStubDescriptor* descriptor) { | 665 CodeStubDescriptor* descriptor) { |
669 FastCloneShallowArrayDescriptor call_descriptor(isolate()); | 666 FastCloneShallowArrayDescriptor call_descriptor(isolate()); |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
969 } | 966 } |
970 | 967 |
971 | 968 |
972 InternalArrayConstructorStub::InternalArrayConstructorStub( | 969 InternalArrayConstructorStub::InternalArrayConstructorStub( |
973 Isolate* isolate) : PlatformCodeStub(isolate) { | 970 Isolate* isolate) : PlatformCodeStub(isolate) { |
974 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); | 971 InternalArrayConstructorStubBase::GenerateStubsAheadOfTime(isolate); |
975 } | 972 } |
976 | 973 |
977 | 974 |
978 } } // namespace v8::internal | 975 } } // namespace v8::internal |
OLD | NEW |