| 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/arm/interface-descriptors-arm.h" | 5 #include "src/arm/interface-descriptors-arm.h" |
| 6 | 6 |
| 7 #if V8_TARGET_ARCH_ARM | 7 #if V8_TARGET_ARCH_ARM |
| 8 | 8 |
| 9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" |
| 10 | 10 |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 data->InitializePlatformSpecific(arraysize(registers), registers); | 290 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 291 } | 291 } |
| 292 | 292 |
| 293 | 293 |
| 294 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( | 294 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( |
| 295 CallInterfaceDescriptorData* data) { | 295 CallInterfaceDescriptorData* data) { |
| 296 Register registers[] = {r2, r1, r0}; | 296 Register registers[] = {r2, r1, r0}; |
| 297 data->InitializePlatformSpecific(arraysize(registers), registers); | 297 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 298 } | 298 } |
| 299 | 299 |
| 300 void BinaryOpWithVectorDescriptor::InitializePlatformSpecific( |
| 301 CallInterfaceDescriptorData* data) { |
| 302 // register state |
| 303 // r1 -- lhs |
| 304 // r0 -- rhs |
| 305 // r4 -- slot id |
| 306 // r3 -- vector |
| 307 Register registers[] = {r1, r0, r4, r3}; |
| 308 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 309 } |
| 310 |
| 300 void CountOpDescriptor::InitializePlatformSpecific( | 311 void CountOpDescriptor::InitializePlatformSpecific( |
| 301 CallInterfaceDescriptorData* data) { | 312 CallInterfaceDescriptorData* data) { |
| 302 Register registers[] = {r1}; | 313 Register registers[] = {r1}; |
| 303 data->InitializePlatformSpecific(arraysize(registers), registers); | 314 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 304 } | 315 } |
| 305 | 316 |
| 306 void StringAddDescriptor::InitializePlatformSpecific( | 317 void StringAddDescriptor::InitializePlatformSpecific( |
| 307 CallInterfaceDescriptorData* data) { | 318 CallInterfaceDescriptorData* data) { |
| 308 Register registers[] = {r1, r0}; | 319 Register registers[] = {r1, r0}; |
| 309 data->InitializePlatformSpecific(arraysize(registers), registers); | 320 data->InitializePlatformSpecific(arraysize(registers), registers); |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 425 r1, // the JSGeneratorObject to resume | 436 r1, // the JSGeneratorObject to resume |
| 426 r2 // the resume mode (tagged) | 437 r2 // the resume mode (tagged) |
| 427 }; | 438 }; |
| 428 data->InitializePlatformSpecific(arraysize(registers), registers); | 439 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 429 } | 440 } |
| 430 | 441 |
| 431 } // namespace internal | 442 } // namespace internal |
| 432 } // namespace v8 | 443 } // namespace v8 |
| 433 | 444 |
| 434 #endif // V8_TARGET_ARCH_ARM | 445 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |