| 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 #if V8_TARGET_ARCH_MIPS | 7 #if V8_TARGET_ARCH_MIPS |
| 8 | 8 |
| 9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" |
| 10 | 10 |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 Register registers[] = { | 323 Register registers[] = { |
| 324 a0, // callee | 324 a0, // callee |
| 325 t0, // call_data | 325 t0, // call_data |
| 326 a2, // holder | 326 a2, // holder |
| 327 a1, // api_function_address | 327 a1, // api_function_address |
| 328 }; | 328 }; |
| 329 data->InitializePlatformSpecific(arraysize(registers), registers); | 329 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 330 } | 330 } |
| 331 | 331 |
| 332 | 332 |
| 333 void MathRoundVariantCallFromUnoptimizedCodeDescriptor:: | 333 void MathRoundVariantDescriptor::InitializePlatformSpecific( |
| 334 InitializePlatformSpecific(CallInterfaceDescriptorData* data) { | 334 CallInterfaceDescriptorData* data) { |
| 335 Register registers[] = { | 335 Register registers[] = { |
| 336 a1, // math rounding function | 336 a1, // math rounding function |
| 337 a3, // vector slot id | 337 a3, // vector slot id |
| 338 }; | 338 }; |
| 339 data->InitializePlatformSpecific(arraysize(registers), registers); | 339 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 340 } | 340 } |
| 341 | |
| 342 | |
| 343 void MathRoundVariantCallFromOptimizedCodeDescriptor:: | |
| 344 InitializePlatformSpecific(CallInterfaceDescriptorData* data) { | |
| 345 Register registers[] = { | |
| 346 a1, // math rounding function | |
| 347 a3, // vector slot id | |
| 348 a2, // type vector | |
| 349 }; | |
| 350 data->InitializePlatformSpecific(arraysize(registers), registers); | |
| 351 } | |
| 352 } // namespace internal | 341 } // namespace internal |
| 353 } // namespace v8 | 342 } // namespace v8 |
| 354 | 343 |
| 355 #endif // V8_TARGET_ARCH_MIPS | 344 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |