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 3522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3533 const { | 3533 const { |
3534 return VectorStoreTransitionDescriptor(isolate()); | 3534 return VectorStoreTransitionDescriptor(isolate()); |
3535 } | 3535 } |
3536 | 3536 |
3537 | 3537 |
3538 CallInterfaceDescriptor | 3538 CallInterfaceDescriptor |
3539 ElementsTransitionAndStoreStub::GetCallInterfaceDescriptor() const { | 3539 ElementsTransitionAndStoreStub::GetCallInterfaceDescriptor() const { |
3540 return VectorStoreTransitionDescriptor(isolate()); | 3540 return VectorStoreTransitionDescriptor(isolate()); |
3541 } | 3541 } |
3542 | 3542 |
3543 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} | 3543 |
| 3544 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { |
| 3545 descriptor->Initialize(Runtime::FunctionForId(Runtime::kNewClosure)->entry); |
| 3546 } |
| 3547 |
3544 | 3548 |
3545 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {} | 3549 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {} |
3546 | 3550 |
3547 | 3551 |
3548 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} | 3552 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} |
3549 | 3553 |
3550 | 3554 |
3551 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { | 3555 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { |
3552 descriptor->Initialize( | 3556 descriptor->Initialize( |
3553 Runtime::FunctionForId(Runtime::kNumberToString)->entry); | 3557 Runtime::FunctionForId(Runtime::kNumberToString)->entry); |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3859 if (type->Is(Type::UntaggedPointer())) { | 3863 if (type->Is(Type::UntaggedPointer())) { |
3860 return Representation::External(); | 3864 return Representation::External(); |
3861 } | 3865 } |
3862 | 3866 |
3863 DCHECK(!type->Is(Type::Untagged())); | 3867 DCHECK(!type->Is(Type::Untagged())); |
3864 return Representation::Tagged(); | 3868 return Representation::Tagged(); |
3865 } | 3869 } |
3866 | 3870 |
3867 } // namespace internal | 3871 } // namespace internal |
3868 } // namespace v8 | 3872 } // namespace v8 |
OLD | NEW |