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/code-factory.h" | 10 #include "src/code-factory.h" |
(...skipping 3670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3681 const { | 3681 const { |
3682 return VectorStoreTransitionDescriptor(isolate()); | 3682 return VectorStoreTransitionDescriptor(isolate()); |
3683 } | 3683 } |
3684 | 3684 |
3685 | 3685 |
3686 CallInterfaceDescriptor | 3686 CallInterfaceDescriptor |
3687 ElementsTransitionAndStoreStub::GetCallInterfaceDescriptor() const { | 3687 ElementsTransitionAndStoreStub::GetCallInterfaceDescriptor() const { |
3688 return VectorStoreTransitionDescriptor(isolate()); | 3688 return VectorStoreTransitionDescriptor(isolate()); |
3689 } | 3689 } |
3690 | 3690 |
3691 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} | 3691 |
| 3692 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { |
| 3693 descriptor->Initialize(Runtime::FunctionForId(Runtime::kNewClosure)->entry); |
| 3694 } |
| 3695 |
3692 | 3696 |
3693 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {} | 3697 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {} |
3694 | 3698 |
3695 | 3699 |
3696 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} | 3700 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} |
3697 | 3701 |
3698 | 3702 |
3699 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { | 3703 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { |
3700 descriptor->Initialize( | 3704 descriptor->Initialize( |
3701 Runtime::FunctionForId(Runtime::kNumberToString)->entry); | 3705 Runtime::FunctionForId(Runtime::kNumberToString)->entry); |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4007 if (type->Is(Type::UntaggedPointer())) { | 4011 if (type->Is(Type::UntaggedPointer())) { |
4008 return Representation::External(); | 4012 return Representation::External(); |
4009 } | 4013 } |
4010 | 4014 |
4011 DCHECK(!type->Is(Type::Untagged())); | 4015 DCHECK(!type->Is(Type::Untagged())); |
4012 return Representation::Tagged(); | 4016 return Representation::Tagged(); |
4013 } | 4017 } |
4014 | 4018 |
4015 } // namespace internal | 4019 } // namespace internal |
4016 } // namespace v8 | 4020 } // namespace v8 |
OLD | NEW |