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