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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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; } | 61 const Register ArgumentsAccessNewDescriptor::function() { return r4; } |
62 const Register ArgumentsAccessNewDescriptor::parameter_count() { return r5; } | 62 const Register ArgumentsAccessNewDescriptor::parameter_count() { return r5; } |
63 const Register ArgumentsAccessNewDescriptor::parameter_pointer() { return r6; } | 63 const Register ArgumentsAccessNewDescriptor::parameter_pointer() { return r6; } |
64 | 64 |
65 | 65 |
| 66 const Register RestParamAccessDescriptor::parameter_count() { return r5; } |
| 67 const Register RestParamAccessDescriptor::parameter_pointer() { return r6; } |
| 68 const Register RestParamAccessDescriptor::rest_parameter_index() { return r7; } |
| 69 const Register RestParamAccessDescriptor::language_mode() { return r4; } |
| 70 |
| 71 |
66 const Register ApiGetterDescriptor::function_address() { return r5; } | 72 const Register ApiGetterDescriptor::function_address() { return r5; } |
67 | 73 |
68 | 74 |
69 const Register MathPowTaggedDescriptor::exponent() { return r5; } | 75 const Register MathPowTaggedDescriptor::exponent() { return r5; } |
70 | 76 |
71 | 77 |
72 const Register MathPowIntegerDescriptor::exponent() { | 78 const Register MathPowIntegerDescriptor::exponent() { |
73 return MathPowTaggedDescriptor::exponent(); | 79 return MathPowTaggedDescriptor::exponent(); |
74 } | 80 } |
75 | 81 |
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 r3, // argument count (argc) | 437 r3, // argument count (argc) |
432 r5, // address of first argument (argv) | 438 r5, // address of first argument (argv) |
433 r4 // the runtime function to call | 439 r4 // the runtime function to call |
434 }; | 440 }; |
435 data->InitializePlatformSpecific(arraysize(registers), registers); | 441 data->InitializePlatformSpecific(arraysize(registers), registers); |
436 } | 442 } |
437 } // namespace internal | 443 } // namespace internal |
438 } // namespace v8 | 444 } // namespace v8 |
439 | 445 |
440 #endif // V8_TARGET_ARCH_PPC | 446 #endif // V8_TARGET_ARCH_PPC |
OLD | NEW |