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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 } | 155 } |
156 | 156 |
157 | 157 |
158 void InstanceOfDescriptor::InitializePlatformSpecific( | 158 void InstanceOfDescriptor::InitializePlatformSpecific( |
159 CallInterfaceDescriptorData* data) { | 159 CallInterfaceDescriptorData* data) { |
160 Register registers[] = {LeftRegister(), RightRegister()}; | 160 Register registers[] = {LeftRegister(), RightRegister()}; |
161 data->InitializePlatformSpecific(arraysize(registers), registers); | 161 data->InitializePlatformSpecific(arraysize(registers), registers); |
162 } | 162 } |
163 | 163 |
164 | 164 |
| 165 void ToStringDescriptor::InitializePlatformSpecific( |
| 166 CallInterfaceDescriptorData* data) { |
| 167 Register registers[] = {ReceiverRegister()}; |
| 168 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 169 } |
| 170 |
| 171 |
165 void ToObjectDescriptor::InitializePlatformSpecific( | 172 void ToObjectDescriptor::InitializePlatformSpecific( |
166 CallInterfaceDescriptorData* data) { | 173 CallInterfaceDescriptorData* data) { |
167 Register registers[] = {ReceiverRegister()}; | 174 Register registers[] = {ReceiverRegister()}; |
168 data->InitializePlatformSpecific(arraysize(registers), registers); | 175 data->InitializePlatformSpecific(arraysize(registers), registers); |
169 } | 176 } |
170 | 177 |
171 | 178 |
172 void MathPowTaggedDescriptor::InitializePlatformSpecific( | 179 void MathPowTaggedDescriptor::InitializePlatformSpecific( |
173 CallInterfaceDescriptorData* data) { | 180 CallInterfaceDescriptorData* data) { |
174 Register registers[] = {exponent()}; | 181 Register registers[] = {exponent()}; |
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
440 AnyTagged(), Type::Undefined(), 5, isolate->interface_descriptor_zone()); | 447 AnyTagged(), Type::Undefined(), 5, isolate->interface_descriptor_zone()); |
441 function->InitParameter(0, Type::Receiver()); | 448 function->InitParameter(0, Type::Receiver()); |
442 function->InitParameter(1, SmiType()); | 449 function->InitParameter(1, SmiType()); |
443 function->InitParameter(2, AnyTagged()); | 450 function->InitParameter(2, AnyTagged()); |
444 function->InitParameter(3, AnyTagged()); | 451 function->InitParameter(3, AnyTagged()); |
445 function->InitParameter(4, AnyTagged()); | 452 function->InitParameter(4, AnyTagged()); |
446 return function; | 453 return function; |
447 } | 454 } |
448 } // namespace internal | 455 } // namespace internal |
449 } // namespace v8 | 456 } // namespace v8 |
OLD | NEW |