| 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 Register registers[] = {LeftRegister(), RightRegister()}; | 196 Register registers[] = {LeftRegister(), RightRegister()}; |
| 197 data->InitializePlatformSpecific(arraysize(registers), registers); | 197 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 198 } | 198 } |
| 199 | 199 |
| 200 void TypeConversionDescriptor::InitializePlatformSpecific( | 200 void TypeConversionDescriptor::InitializePlatformSpecific( |
| 201 CallInterfaceDescriptorData* data) { | 201 CallInterfaceDescriptorData* data) { |
| 202 Register registers[] = {ArgumentRegister()}; | 202 Register registers[] = {ArgumentRegister()}; |
| 203 data->InitializePlatformSpecific(arraysize(registers), registers); | 203 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 204 } | 204 } |
| 205 | 205 |
| 206 void HasPropertyDescriptor::InitializePlatformSpecific( |
| 207 CallInterfaceDescriptorData* data) { |
| 208 Register registers[] = {KeyRegister(), ObjectRegister()}; |
| 209 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 210 } |
| 206 | 211 |
| 207 void MathPowTaggedDescriptor::InitializePlatformSpecific( | 212 void MathPowTaggedDescriptor::InitializePlatformSpecific( |
| 208 CallInterfaceDescriptorData* data) { | 213 CallInterfaceDescriptorData* data) { |
| 209 Register registers[] = {exponent()}; | 214 Register registers[] = {exponent()}; |
| 210 data->InitializePlatformSpecific(arraysize(registers), registers); | 215 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 211 } | 216 } |
| 212 | 217 |
| 213 | 218 |
| 214 void MathPowIntegerDescriptor::InitializePlatformSpecific( | 219 void MathPowIntegerDescriptor::InitializePlatformSpecific( |
| 215 CallInterfaceDescriptorData* data) { | 220 CallInterfaceDescriptorData* data) { |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 525 Type::Function(AnyTagged(zone), Type::Undefined(), 4, zone)->AsFunction(); | 530 Type::Function(AnyTagged(zone), Type::Undefined(), 4, zone)->AsFunction(); |
| 526 function->InitParameter(kAccumulatorParameter, AnyTagged(zone)); | 531 function->InitParameter(kAccumulatorParameter, AnyTagged(zone)); |
| 527 function->InitParameter(kBytecodeOffsetParameter, UntaggedIntegral32(zone)); | 532 function->InitParameter(kBytecodeOffsetParameter, UntaggedIntegral32(zone)); |
| 528 function->InitParameter(kBytecodeArrayParameter, AnyTagged(zone)); | 533 function->InitParameter(kBytecodeArrayParameter, AnyTagged(zone)); |
| 529 function->InitParameter(kDispatchTableParameter, AnyTagged(zone)); | 534 function->InitParameter(kDispatchTableParameter, AnyTagged(zone)); |
| 530 return function; | 535 return function; |
| 531 } | 536 } |
| 532 | 537 |
| 533 } // namespace internal | 538 } // namespace internal |
| 534 } // namespace v8 | 539 } // namespace v8 |
| OLD | NEW |