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 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
657 const { | 657 const { |
658 return VectorStoreTransitionDescriptor(isolate()); | 658 return VectorStoreTransitionDescriptor(isolate()); |
659 } | 659 } |
660 | 660 |
661 | 661 |
662 CallInterfaceDescriptor | 662 CallInterfaceDescriptor |
663 ElementsTransitionAndStoreStub::GetCallInterfaceDescriptor() const { | 663 ElementsTransitionAndStoreStub::GetCallInterfaceDescriptor() const { |
664 return VectorStoreTransitionDescriptor(isolate()); | 664 return VectorStoreTransitionDescriptor(isolate()); |
665 } | 665 } |
666 | 666 |
667 | 667 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} |
668 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { | |
669 descriptor->Initialize(Runtime::FunctionForId(Runtime::kNewClosure)->entry); | |
670 } | |
671 | |
672 | 668 |
673 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {} | 669 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {} |
674 | 670 |
675 | 671 |
676 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} | 672 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} |
677 | 673 |
678 | 674 |
679 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { | 675 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { |
680 NumberToStringDescriptor call_descriptor(isolate()); | 676 NumberToStringDescriptor call_descriptor(isolate()); |
681 descriptor->Initialize( | 677 descriptor->Initialize( |
(...skipping 376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1058 if (type->Is(Type::UntaggedPointer())) { | 1054 if (type->Is(Type::UntaggedPointer())) { |
1059 return Representation::External(); | 1055 return Representation::External(); |
1060 } | 1056 } |
1061 | 1057 |
1062 DCHECK(!type->Is(Type::Untagged())); | 1058 DCHECK(!type->Is(Type::Untagged())); |
1063 return Representation::Tagged(); | 1059 return Representation::Tagged(); |
1064 } | 1060 } |
1065 | 1061 |
1066 } // namespace internal | 1062 } // namespace internal |
1067 } // namespace v8 | 1063 } // namespace v8 |
OLD | NEW |