| 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 | |
| 84 void VoidDescriptor::InitializePlatformSpecific( | 78 void VoidDescriptor::InitializePlatformSpecific( |
| 85 CallInterfaceDescriptorData* data) { | 79 CallInterfaceDescriptorData* data) { |
| 86 data->InitializePlatformSpecific(0, nullptr); | 80 data->InitializePlatformSpecific(0, nullptr); |
| 87 } | 81 } |
| 88 | 82 |
| 89 FunctionType* LoadDescriptor::BuildCallInterfaceDescriptorFunctionType( | 83 FunctionType* LoadDescriptor::BuildCallInterfaceDescriptorFunctionType( |
| 90 Isolate* isolate, int paramater_count) { | 84 Isolate* isolate, int paramater_count) { |
| 91 Zone* zone = isolate->interface_descriptor_zone(); | 85 Zone* zone = isolate->interface_descriptor_zone(); |
| 92 FunctionType* function = | 86 FunctionType* function = |
| 93 Type::Function(AnyTagged(zone), Type::Undefined(), 3, zone)->AsFunction(); | 87 Type::Function(AnyTagged(zone), Type::Undefined(), 3, zone)->AsFunction(); |
| (...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 543 Type::Function(AnyTagged(zone), Type::Undefined(), 4, zone)->AsFunction(); | 537 Type::Function(AnyTagged(zone), Type::Undefined(), 4, zone)->AsFunction(); |
| 544 function->InitParameter(kAccumulatorParameter, AnyTagged(zone)); | 538 function->InitParameter(kAccumulatorParameter, AnyTagged(zone)); |
| 545 function->InitParameter(kBytecodeOffsetParameter, UntaggedIntegral32(zone)); | 539 function->InitParameter(kBytecodeOffsetParameter, UntaggedIntegral32(zone)); |
| 546 function->InitParameter(kBytecodeArrayParameter, AnyTagged(zone)); | 540 function->InitParameter(kBytecodeArrayParameter, AnyTagged(zone)); |
| 547 function->InitParameter(kDispatchTableParameter, AnyTagged(zone)); | 541 function->InitParameter(kDispatchTableParameter, AnyTagged(zone)); |
| 548 return function; | 542 return function; |
| 549 } | 543 } |
| 550 | 544 |
| 551 } // namespace internal | 545 } // namespace internal |
| 552 } // namespace v8 | 546 } // namespace v8 |
| OLD | NEW |