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 | 3691 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} |
3692 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { | |
3693 descriptor->Initialize(Runtime::FunctionForId(Runtime::kNewClosure)->entry); | |
3694 } | |
3695 | |
3696 | 3692 |
3697 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {} | 3693 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {} |
3698 | 3694 |
3699 | 3695 |
3700 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} | 3696 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} |
3701 | 3697 |
3702 | 3698 |
3703 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { | 3699 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { |
3704 descriptor->Initialize( | 3700 descriptor->Initialize( |
3705 Runtime::FunctionForId(Runtime::kNumberToString)->entry); | 3701 Runtime::FunctionForId(Runtime::kNumberToString)->entry); |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4010 if (type->Is(Type::UntaggedPointer())) { | 4006 if (type->Is(Type::UntaggedPointer())) { |
4011 return Representation::External(); | 4007 return Representation::External(); |
4012 } | 4008 } |
4013 | 4009 |
4014 DCHECK(!type->Is(Type::Untagged())); | 4010 DCHECK(!type->Is(Type::Untagged())); |
4015 return Representation::Tagged(); | 4011 return Representation::Tagged(); |
4016 } | 4012 } |
4017 | 4013 |
4018 } // namespace internal | 4014 } // namespace internal |
4019 } // namespace v8 | 4015 } // namespace v8 |
OLD | NEW |