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