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