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 644 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
655 const { | 655 const { |
656 return VectorStoreTransitionDescriptor(isolate()); | 656 return VectorStoreTransitionDescriptor(isolate()); |
657 } | 657 } |
658 | 658 |
659 | 659 |
660 CallInterfaceDescriptor | 660 CallInterfaceDescriptor |
661 ElementsTransitionAndStoreStub::GetCallInterfaceDescriptor() const { | 661 ElementsTransitionAndStoreStub::GetCallInterfaceDescriptor() const { |
662 return VectorStoreTransitionDescriptor(isolate()); | 662 return VectorStoreTransitionDescriptor(isolate()); |
663 } | 663 } |
664 | 664 |
665 | 665 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} |
666 void FastNewClosureStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { | |
667 descriptor->Initialize(Runtime::FunctionForId(Runtime::kNewClosure)->entry); | |
668 } | |
669 | |
670 | 666 |
671 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {} | 667 void FastNewContextStub::InitializeDescriptor(CodeStubDescriptor* d) {} |
672 | 668 |
673 | 669 |
674 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} | 670 void TypeofStub::InitializeDescriptor(CodeStubDescriptor* descriptor) {} |
675 | 671 |
676 | 672 |
677 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { | 673 void NumberToStringStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { |
678 NumberToStringDescriptor call_descriptor(isolate()); | 674 NumberToStringDescriptor call_descriptor(isolate()); |
679 descriptor->Initialize( | 675 descriptor->Initialize( |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1036 if (type->Is(Type::UntaggedPointer())) { | 1032 if (type->Is(Type::UntaggedPointer())) { |
1037 return Representation::External(); | 1033 return Representation::External(); |
1038 } | 1034 } |
1039 | 1035 |
1040 DCHECK(!type->Is(Type::Untagged())); | 1036 DCHECK(!type->Is(Type::Untagged())); |
1041 return Representation::Tagged(); | 1037 return Representation::Tagged(); |
1042 } | 1038 } |
1043 | 1039 |
1044 } // namespace internal | 1040 } // namespace internal |
1045 } // namespace v8 | 1041 } // namespace v8 |
OLD | NEW |