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_MIPS64 | 7 #if V8_TARGET_ARCH_MIPS64 |
8 | 8 |
9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" |
10 | 10 |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
356 }; | 356 }; |
357 Representation representations[] = { | 357 Representation representations[] = { |
358 Representation::Tagged(), // context | 358 Representation::Tagged(), // context |
359 Representation::Tagged(), // callee | 359 Representation::Tagged(), // callee |
360 Representation::Tagged(), // call_data | 360 Representation::Tagged(), // call_data |
361 Representation::Tagged(), // holder | 361 Representation::Tagged(), // holder |
362 Representation::External(), // api_function_address | 362 Representation::External(), // api_function_address |
363 }; | 363 }; |
364 data->Initialize(arraysize(registers), registers, representations); | 364 data->Initialize(arraysize(registers), registers, representations); |
365 } | 365 } |
| 366 |
| 367 |
| 368 void MathRoundVariantDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
| 369 Register registers[] = { |
| 370 a1, // context |
| 371 a2, // math rounding function |
| 372 a3, // vector slot id |
| 373 }; |
| 374 Representation representations[] = { |
| 375 Representation::Tagged(), // |
| 376 Representation::Tagged(), // |
| 377 Representation::Tagged(), // |
| 378 }; |
| 379 data->Initialize(arraysize(registers), registers, representations); |
| 380 } |
366 } | 381 } |
367 } // namespace v8::internal | 382 } // namespace v8::internal |
368 | 383 |
369 #endif // V8_TARGET_ARCH_MIPS64 | 384 #endif // V8_TARGET_ARCH_MIPS64 |
OLD | NEW |