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 #if V8_TARGET_ARCH_X87 | 5 #if V8_TARGET_ARCH_X87 |
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
60 | 60 |
61 | 61 |
62 const Register ArgumentsAccessReadDescriptor::index() { return edx; } | 62 const Register ArgumentsAccessReadDescriptor::index() { return edx; } |
63 const Register ArgumentsAccessReadDescriptor::parameter_count() { return eax; } | 63 const Register ArgumentsAccessReadDescriptor::parameter_count() { return eax; } |
64 | 64 |
65 | 65 |
66 const Register ArgumentsAccessNewDescriptor::function() { return edi; } | 66 const Register ArgumentsAccessNewDescriptor::function() { return edi; } |
67 const Register ArgumentsAccessNewDescriptor::parameter_count() { return ecx; } | 67 const Register ArgumentsAccessNewDescriptor::parameter_count() { return ecx; } |
68 const Register ArgumentsAccessNewDescriptor::parameter_pointer() { return edx; } | 68 const Register ArgumentsAccessNewDescriptor::parameter_pointer() { return edx; } |
69 | 69 |
| 70 const Register RestParamAccessDescriptor::parameter_count() { return ecx; } |
| 71 const Register RestParamAccessDescriptor::parameter_pointer() { return edx; } |
| 72 const Register RestParamAccessDescriptor::rest_parameter_index() { return ebx; } |
| 73 const Register RestParamAccessDescriptor::language_mode() { return edi; } |
| 74 |
70 | 75 |
71 const Register ApiGetterDescriptor::function_address() { return edx; } | 76 const Register ApiGetterDescriptor::function_address() { return edx; } |
72 | 77 |
73 | 78 |
74 const Register MathPowTaggedDescriptor::exponent() { return eax; } | 79 const Register MathPowTaggedDescriptor::exponent() { return eax; } |
75 | 80 |
76 | 81 |
77 const Register MathPowIntegerDescriptor::exponent() { | 82 const Register MathPowIntegerDescriptor::exponent() { |
78 return MathPowTaggedDescriptor::exponent(); | 83 return MathPowTaggedDescriptor::exponent(); |
79 } | 84 } |
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 ecx, // address of first argument (argv) | 444 ecx, // address of first argument (argv) |
440 ebx // the runtime function to call | 445 ebx // the runtime function to call |
441 }; | 446 }; |
442 data->InitializePlatformSpecific(arraysize(registers), registers); | 447 data->InitializePlatformSpecific(arraysize(registers), registers); |
443 } | 448 } |
444 | 449 |
445 } // namespace internal | 450 } // namespace internal |
446 } // namespace v8 | 451 } // namespace v8 |
447 | 452 |
448 #endif // V8_TARGET_ARCH_X87 | 453 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |