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/compiler/code-stub-assembler.h" | 10 #include "src/compiler/code-stub-assembler.h" |
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
652 return VectorStoreTransitionDescriptor(isolate()); | 652 return VectorStoreTransitionDescriptor(isolate()); |
653 } | 653 } |
654 | 654 |
655 | 655 |
656 CallInterfaceDescriptor | 656 CallInterfaceDescriptor |
657 ElementsTransitionAndStoreStub::GetCallInterfaceDescriptor() const { | 657 ElementsTransitionAndStoreStub::GetCallInterfaceDescriptor() const { |
658 return VectorStoreTransitionDescriptor(isolate()); | 658 return VectorStoreTransitionDescriptor(isolate()); |
659 } | 659 } |
660 | 660 |
661 | 661 |
662 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { | 662 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} |
663 descriptor->Initialize(Runtime::FunctionForId(Runtime::kNewClosure)->entry); | |
664 } | |
665 | 663 |
666 | 664 |
667 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {} | 665 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {} |
668 | 666 |
669 | 667 |
670 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} | 668 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} |
671 | 669 |
672 | 670 |
673 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { | 671 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { |
674 NumberToStringDescriptor call_descriptor(isolate()); | 672 NumberToStringDescriptor call_descriptor(isolate()); |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1052 if (type->Is(Type::UntaggedPointer())) { | 1050 if (type->Is(Type::UntaggedPointer())) { |
1053 return Representation::External(); | 1051 return Representation::External(); |
1054 } | 1052 } |
1055 | 1053 |
1056 DCHECK(!type->Is(Type::Untagged())); | 1054 DCHECK(!type->Is(Type::Untagged())); |
1057 return Representation::Tagged(); | 1055 return Representation::Tagged(); |
1058 } | 1056 } |
1059 | 1057 |
1060 } // namespace internal | 1058 } // namespace internal |
1061 } // namespace v8 | 1059 } // namespace v8 |
OLD | NEW |