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/factory.h" | 10 #include "src/factory.h" |
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
737 } | 737 } |
738 | 738 |
739 | 739 |
740 void AllocateHeapNumberStub::InitializeDescriptor( | 740 void AllocateHeapNumberStub::InitializeDescriptor( |
741 CodeStubDescriptor* descriptor) { | 741 CodeStubDescriptor* descriptor) { |
742 descriptor->Initialize( | 742 descriptor->Initialize( |
743 Runtime::FunctionForId(Runtime::kAllocateHeapNumber)->entry); | 743 Runtime::FunctionForId(Runtime::kAllocateHeapNumber)->entry); |
744 } | 744 } |
745 | 745 |
746 | 746 |
| 747 void AllocateMutableHeapNumberStub::InitializeDescriptor( |
| 748 CodeStubDescriptor* descriptor) { |
| 749 descriptor->Initialize(); |
| 750 } |
| 751 |
| 752 |
747 void AllocateInNewSpaceStub::InitializeDescriptor( | 753 void AllocateInNewSpaceStub::InitializeDescriptor( |
748 CodeStubDescriptor* descriptor) { | 754 CodeStubDescriptor* descriptor) { |
749 descriptor->Initialize(); | 755 descriptor->Initialize(); |
750 } | 756 } |
751 | 757 |
752 | 758 |
753 void CompareNilICStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { | 759 void CompareNilICStub::InitializeDescriptor(CodeStubDescriptor* descriptor) { |
754 descriptor->Initialize(FUNCTION_ADDR(Runtime_CompareNilIC_Miss)); | 760 descriptor->Initialize(FUNCTION_ADDR(Runtime_CompareNilIC_Miss)); |
755 descriptor->SetMissHandler(ExternalReference( | 761 descriptor->SetMissHandler(ExternalReference( |
756 Runtime::FunctionForId(Runtime::kCompareNilIC_Miss), isolate())); | 762 Runtime::FunctionForId(Runtime::kCompareNilIC_Miss), isolate())); |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1065 | 1071 |
1066 if (type->Is(Type::UntaggedPointer())) { | 1072 if (type->Is(Type::UntaggedPointer())) { |
1067 return Representation::External(); | 1073 return Representation::External(); |
1068 } | 1074 } |
1069 | 1075 |
1070 DCHECK(!type->Is(Type::Untagged())); | 1076 DCHECK(!type->Is(Type::Untagged())); |
1071 return Representation::Tagged(); | 1077 return Representation::Tagged(); |
1072 } | 1078 } |
1073 } // namespace internal | 1079 } // namespace internal |
1074 } // namespace v8 | 1080 } // namespace v8 |
OLD | NEW |