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