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 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
357 }; | 357 }; |
358 Representation representations[] = { | 358 Representation representations[] = { |
359 Representation::Tagged(), // context | 359 Representation::Tagged(), // context |
360 Representation::Tagged(), // callee | 360 Representation::Tagged(), // callee |
361 Representation::Tagged(), // call_data | 361 Representation::Tagged(), // call_data |
362 Representation::Tagged(), // holder | 362 Representation::Tagged(), // holder |
363 Representation::External(), // api_function_address | 363 Representation::External(), // api_function_address |
364 }; | 364 }; |
365 data->Initialize(arraysize(registers), registers, representations); | 365 data->Initialize(arraysize(registers), registers, representations); |
366 } | 366 } |
| 367 |
| 368 |
| 369 void MathRoundVariantDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
| 370 Register registers[] = { |
| 371 esi, // context |
| 372 edi, // math rounding function |
| 373 edx, // vector slot id |
| 374 }; |
| 375 Representation representations[] = { |
| 376 Representation::Tagged(), // |
| 377 Representation::Tagged(), // |
| 378 Representation::Tagged(), // |
| 379 }; |
| 380 data->Initialize(arraysize(registers), registers, representations); |
| 381 } |
367 } | 382 } |
368 } // namespace v8::internal | 383 } // namespace v8::internal |
369 | 384 |
370 #endif // V8_TARGET_ARCH_IA32 | 385 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |