| 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 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 Representation representations[] = { | 386 Representation representations[] = { |
| 387 Representation::Tagged(), // context | 387 Representation::Tagged(), // context |
| 388 Representation::Tagged(), // callee | 388 Representation::Tagged(), // callee |
| 389 Representation::Tagged(), // call_data | 389 Representation::Tagged(), // call_data |
| 390 Representation::Tagged(), // holder | 390 Representation::Tagged(), // holder |
| 391 Representation::External(), // api_function_address | 391 Representation::External(), // api_function_address |
| 392 }; | 392 }; |
| 393 data->Initialize(arraysize(registers), registers, representations, | 393 data->Initialize(arraysize(registers), registers, representations, |
| 394 &default_descriptor); | 394 &default_descriptor); |
| 395 } | 395 } |
| 396 |
| 397 |
| 398 void MathRoundVariantDescriptor::Initialize(CallInterfaceDescriptorData* data) { |
| 399 Register registers[] = { |
| 400 cp, // context |
| 401 r1, // math rounding function |
| 402 r3, // vector slot id |
| 403 }; |
| 404 Representation representations[] = { |
| 405 Representation::Tagged(), // |
| 406 Representation::Tagged(), // |
| 407 Representation::Tagged(), // |
| 408 }; |
| 409 data->Initialize(arraysize(registers), registers, representations); |
| 410 } |
| 396 } | 411 } |
| 397 } // namespace v8::internal | 412 } // namespace v8::internal |
| 398 | 413 |
| 399 #endif // V8_TARGET_ARCH_ARM | 414 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |