| 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/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #include "src/interface-descriptors.h" | 7 #include "src/interface-descriptors.h" |
| 8 | 8 |
| 9 namespace v8 { | 9 namespace v8 { |
| 10 namespace internal { | 10 namespace internal { |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 } | 148 } |
| 149 | 149 |
| 150 | 150 |
| 151 void InstanceofDescriptor::InitializePlatformSpecific( | 151 void InstanceofDescriptor::InitializePlatformSpecific( |
| 152 CallInterfaceDescriptorData* data) { | 152 CallInterfaceDescriptorData* data) { |
| 153 Register registers[] = {left(), right()}; | 153 Register registers[] = {left(), right()}; |
| 154 data->InitializePlatformSpecific(arraysize(registers), registers); | 154 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 155 } | 155 } |
| 156 | 156 |
| 157 | 157 |
| 158 void ToObjectDescriptor::InitializePlatformSpecific( |
| 159 CallInterfaceDescriptorData* data) { |
| 160 Register registers[] = {ReceiverRegister()}; |
| 161 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 162 } |
| 163 |
| 164 |
| 158 void MathPowTaggedDescriptor::InitializePlatformSpecific( | 165 void MathPowTaggedDescriptor::InitializePlatformSpecific( |
| 159 CallInterfaceDescriptorData* data) { | 166 CallInterfaceDescriptorData* data) { |
| 160 Register registers[] = {exponent()}; | 167 Register registers[] = {exponent()}; |
| 161 data->InitializePlatformSpecific(arraysize(registers), registers); | 168 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 162 } | 169 } |
| 163 | 170 |
| 164 | 171 |
| 165 void MathPowIntegerDescriptor::InitializePlatformSpecific( | 172 void MathPowIntegerDescriptor::InitializePlatformSpecific( |
| 166 CallInterfaceDescriptorData* data) { | 173 CallInterfaceDescriptorData* data) { |
| 167 Register registers[] = {exponent()}; | 174 Register registers[] = {exponent()}; |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 411 AnyTagged(), Type::Undefined(), 5, isolate->interface_descriptor_zone()); | 418 AnyTagged(), Type::Undefined(), 5, isolate->interface_descriptor_zone()); |
| 412 function->InitParameter(0, Type::Receiver()); | 419 function->InitParameter(0, Type::Receiver()); |
| 413 function->InitParameter(1, SmiType()); | 420 function->InitParameter(1, SmiType()); |
| 414 function->InitParameter(2, AnyTagged()); | 421 function->InitParameter(2, AnyTagged()); |
| 415 function->InitParameter(3, AnyTagged()); | 422 function->InitParameter(3, AnyTagged()); |
| 416 function->InitParameter(4, AnyTagged()); | 423 function->InitParameter(4, AnyTagged()); |
| 417 return function; | 424 return function; |
| 418 } | 425 } |
| 419 } // namespace internal | 426 } // namespace internal |
| 420 } // namespace v8 | 427 } // namespace v8 |
| OLD | NEW |