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/interface-descriptors.h" | 5 #include "src/interface-descriptors.h" |
6 | 6 |
7 namespace v8 { | 7 namespace v8 { |
8 namespace internal { | 8 namespace internal { |
9 | 9 |
10 namespace { | 10 namespace { |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 return #NAME " Descriptor"; | 68 return #NAME " Descriptor"; |
69 INTERFACE_DESCRIPTOR_LIST(DEF_CASE) | 69 INTERFACE_DESCRIPTOR_LIST(DEF_CASE) |
70 #undef DEF_CASE | 70 #undef DEF_CASE |
71 case CallDescriptors::NUMBER_OF_DESCRIPTORS: | 71 case CallDescriptors::NUMBER_OF_DESCRIPTORS: |
72 break; | 72 break; |
73 } | 73 } |
74 return ""; | 74 return ""; |
75 } | 75 } |
76 | 76 |
77 | 77 |
| 78 void AllocateMutableHeapNumberDescriptor::InitializePlatformSpecific( |
| 79 CallInterfaceDescriptorData* data) { |
| 80 data->InitializePlatformSpecific(0, nullptr, nullptr); |
| 81 } |
| 82 |
| 83 |
78 Type::FunctionType* LoadDescriptor::BuildCallInterfaceDescriptorFunctionType( | 84 Type::FunctionType* LoadDescriptor::BuildCallInterfaceDescriptorFunctionType( |
79 Isolate* isolate, int paramater_count) { | 85 Isolate* isolate, int paramater_count) { |
80 Zone* zone = isolate->interface_descriptor_zone(); | 86 Zone* zone = isolate->interface_descriptor_zone(); |
81 Type::FunctionType* function = | 87 Type::FunctionType* function = |
82 Type::FunctionType::New(AnyTagged(zone), Type::Undefined(), 3, zone); | 88 Type::FunctionType::New(AnyTagged(zone), Type::Undefined(), 3, zone); |
83 function->InitParameter(0, AnyTagged(zone)); | 89 function->InitParameter(0, AnyTagged(zone)); |
84 function->InitParameter(1, AnyTagged(zone)); | 90 function->InitParameter(1, AnyTagged(zone)); |
85 function->InitParameter(2, SmiType(zone)); | 91 function->InitParameter(2, SmiType(zone)); |
86 return function; | 92 return function; |
87 } | 93 } |
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
539 Type::FunctionType::New(AnyTagged(zone), Type::Undefined(), 5, zone); | 545 Type::FunctionType::New(AnyTagged(zone), Type::Undefined(), 5, zone); |
540 function->InitParameter(0, Type::Receiver()); | 546 function->InitParameter(0, Type::Receiver()); |
541 function->InitParameter(1, SmiType(zone)); | 547 function->InitParameter(1, SmiType(zone)); |
542 function->InitParameter(2, AnyTagged(zone)); | 548 function->InitParameter(2, AnyTagged(zone)); |
543 function->InitParameter(3, AnyTagged(zone)); | 549 function->InitParameter(3, AnyTagged(zone)); |
544 function->InitParameter(4, AnyTagged(zone)); | 550 function->InitParameter(4, AnyTagged(zone)); |
545 return function; | 551 return function; |
546 } | 552 } |
547 } // namespace internal | 553 } // namespace internal |
548 } // namespace v8 | 554 } // namespace v8 |
OLD | NEW |