OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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 #if V8_TARGET_ARCH_PPC | 5 #if V8_TARGET_ARCH_PPC |
6 | 6 |
7 #include "src/interface-descriptors.h" | 7 #include "src/interface-descriptors.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 | 51 |
52 | 52 |
53 const Register StringCompareDescriptor::LeftRegister() { return r4; } | 53 const Register StringCompareDescriptor::LeftRegister() { return r4; } |
54 const Register StringCompareDescriptor::RightRegister() { return r3; } | 54 const Register StringCompareDescriptor::RightRegister() { return r3; } |
55 | 55 |
56 | 56 |
57 const Register ArgumentsAccessReadDescriptor::index() { return r4; } | 57 const Register ArgumentsAccessReadDescriptor::index() { return r4; } |
58 const Register ArgumentsAccessReadDescriptor::parameter_count() { return r3; } | 58 const Register ArgumentsAccessReadDescriptor::parameter_count() { return r3; } |
59 | 59 |
60 | 60 |
| 61 const Register ArgumentsAccessNewDescriptor::function() { return r4; } |
| 62 const Register ArgumentsAccessNewDescriptor::parameter_count() { return r5; } |
| 63 const Register ArgumentsAccessNewDescriptor::parameter_pointer() { return r6; } |
| 64 |
| 65 |
61 const Register ApiGetterDescriptor::function_address() { return r5; } | 66 const Register ApiGetterDescriptor::function_address() { return r5; } |
62 | 67 |
63 | 68 |
64 const Register MathPowTaggedDescriptor::exponent() { return r5; } | 69 const Register MathPowTaggedDescriptor::exponent() { return r5; } |
65 | 70 |
66 | 71 |
67 const Register MathPowIntegerDescriptor::exponent() { | 72 const Register MathPowIntegerDescriptor::exponent() { |
68 return MathPowTaggedDescriptor::exponent(); | 73 return MathPowTaggedDescriptor::exponent(); |
69 } | 74 } |
70 | 75 |
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 r3, // argument count (including receiver) | 397 r3, // argument count (including receiver) |
393 r5, // address of first argument | 398 r5, // address of first argument |
394 r4 // the target callable to be call | 399 r4 // the target callable to be call |
395 }; | 400 }; |
396 data->InitializePlatformSpecific(arraysize(registers), registers); | 401 data->InitializePlatformSpecific(arraysize(registers), registers); |
397 } | 402 } |
398 } // namespace internal | 403 } // namespace internal |
399 } // namespace v8 | 404 } // namespace v8 |
400 | 405 |
401 #endif // V8_TARGET_ARCH_PPC | 406 #endif // V8_TARGET_ARCH_PPC |
OLD | NEW |