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