| 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 #if V8_TARGET_ARCH_MIPS | 5 #if V8_TARGET_ARCH_MIPS |
| 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 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 288 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 288 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 289 } | 289 } |
| 290 | 290 |
| 291 | 291 |
| 292 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( | 292 void BinaryOpWithAllocationSiteDescriptor::InitializePlatformSpecific( |
| 293 CallInterfaceDescriptorData* data) { | 293 CallInterfaceDescriptorData* data) { |
| 294 Register registers[] = {a2, a1, a0}; | 294 Register registers[] = {a2, a1, a0}; |
| 295 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 295 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| 296 } | 296 } |
| 297 | 297 |
| 298 void BinaryOpWithVectorDescriptor::InitializePlatformSpecific( |
| 299 CallInterfaceDescriptorData* data) { |
| 300 // register state |
| 301 // a1 -- lhs |
| 302 // a0 -- rhs |
| 303 // t0 -- slot id |
| 304 // a3 -- vector |
| 305 Register registers[] = {a1, a0, t0, a3}; |
| 306 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 307 } |
| 308 |
| 298 void CountOpDescriptor::InitializePlatformSpecific( | 309 void CountOpDescriptor::InitializePlatformSpecific( |
| 299 CallInterfaceDescriptorData* data) { | 310 CallInterfaceDescriptorData* data) { |
| 300 Register registers[] = {a1}; | 311 Register registers[] = {a1}; |
| 301 data->InitializePlatformSpecific(arraysize(registers), registers); | 312 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 302 } | 313 } |
| 303 | 314 |
| 304 void StringAddDescriptor::InitializePlatformSpecific( | 315 void StringAddDescriptor::InitializePlatformSpecific( |
| 305 CallInterfaceDescriptorData* data) { | 316 CallInterfaceDescriptorData* data) { |
| 306 Register registers[] = {a1, a0}; | 317 Register registers[] = {a1, a0}; |
| 307 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); | 318 data->InitializePlatformSpecific(arraysize(registers), registers, NULL); |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 403 a1, // the JSGeneratorObject to resume | 414 a1, // the JSGeneratorObject to resume |
| 404 a2 // the resume mode (tagged) | 415 a2 // the resume mode (tagged) |
| 405 }; | 416 }; |
| 406 data->InitializePlatformSpecific(arraysize(registers), registers); | 417 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 407 } | 418 } |
| 408 | 419 |
| 409 } // namespace internal | 420 } // namespace internal |
| 410 } // namespace v8 | 421 } // namespace v8 |
| 411 | 422 |
| 412 #endif // V8_TARGET_ARCH_MIPS | 423 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |