| 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 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 Representation::Tagged(), // call_data | 366 Representation::Tagged(), // call_data |
| 367 Representation::Tagged(), // holder | 367 Representation::Tagged(), // holder |
| 368 Representation::External(), // api_function_address | 368 Representation::External(), // api_function_address |
| 369 }; | 369 }; |
| 370 data->Initialize(arraysize(registers), registers, representations); | 370 data->Initialize(arraysize(registers), registers, representations); |
| 371 } | 371 } |
| 372 | 372 |
| 373 | 373 |
| 374 void MathRoundVariantDescriptor::Initialize(CallInterfaceDescriptorData* data) { | 374 void MathRoundVariantDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
| 375 Register registers[] = { | 375 Register registers[] = { |
| 376 a1, // context | 376 cp, // context |
| 377 a2, // math rounding function | 377 a1, // math rounding function |
| 378 a3, // vector slot id | 378 a3, // vector slot id |
| 379 }; | 379 }; |
| 380 Representation representations[] = { | 380 Representation representations[] = { |
| 381 Representation::Tagged(), // | 381 Representation::Tagged(), // |
| 382 Representation::Tagged(), // | 382 Representation::Tagged(), // |
| 383 Representation::Tagged(), // | 383 Representation::Tagged(), // |
| 384 }; | 384 }; |
| 385 data->Initialize(arraysize(registers), registers, representations); | 385 data->Initialize(arraysize(registers), registers, representations); |
| 386 } | 386 } |
| 387 } | 387 } |
| 388 } // namespace v8::internal | 388 } // namespace v8::internal |
| 389 | 389 |
| 390 #endif // V8_TARGET_ARCH_MIPS64 | 390 #endif // V8_TARGET_ARCH_MIPS64 |
| OLD | NEW |