| 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_ARM | 7 #if V8_TARGET_ARCH_ARM |
| 8 | 8 |
| 9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" |
| 10 | 10 |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 Representation representations[] = { | 380 Representation representations[] = { |
| 381 Representation::Tagged(), // context | 381 Representation::Tagged(), // context |
| 382 Representation::Tagged(), // callee | 382 Representation::Tagged(), // callee |
| 383 Representation::Tagged(), // call_data | 383 Representation::Tagged(), // call_data |
| 384 Representation::Tagged(), // holder | 384 Representation::Tagged(), // holder |
| 385 Representation::External(), // api_function_address | 385 Representation::External(), // api_function_address |
| 386 }; | 386 }; |
| 387 data->Initialize(arraysize(registers), registers, representations, | 387 data->Initialize(arraysize(registers), registers, representations, |
| 388 &default_descriptor); | 388 &default_descriptor); |
| 389 } | 389 } |
| 390 |
| 391 |
| 392 void MathRoundVariantDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
| 393 Register registers[] = { |
| 394 r1, // context |
| 395 r2, // math rounding function |
| 396 r3, // vector slot id |
| 397 }; |
| 398 Representation representations[] = { |
| 399 Representation::Tagged(), // |
| 400 Representation::Tagged(), // |
| 401 Representation::Tagged(), // |
| 402 }; |
| 403 data->Initialize(arraysize(registers), registers, representations); |
| 404 } |
| 390 } | 405 } |
| 391 } // namespace v8::internal | 406 } // namespace v8::internal |
| 392 | 407 |
| 393 #endif // V8_TARGET_ARCH_ARM | 408 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |