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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return eax; } | 51 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return eax; } |
52 | 52 |
53 | 53 |
54 const Register InstanceOfDescriptor::LeftRegister() { return edx; } | 54 const Register InstanceOfDescriptor::LeftRegister() { return edx; } |
55 const Register InstanceOfDescriptor::RightRegister() { return eax; } | 55 const Register InstanceOfDescriptor::RightRegister() { return eax; } |
56 | 56 |
57 | 57 |
58 const Register StringCompareDescriptor::LeftRegister() { return edx; } | 58 const Register StringCompareDescriptor::LeftRegister() { return edx; } |
59 const Register StringCompareDescriptor::RightRegister() { return eax; } | 59 const Register StringCompareDescriptor::RightRegister() { return eax; } |
60 | 60 |
61 const Register ApiGetterDescriptor::HolderRegister() { return ecx; } | 61 |
62 const Register ApiGetterDescriptor::CallbackRegister() { return eax; } | 62 const Register ApiGetterDescriptor::function_address() { return edx; } |
| 63 |
63 | 64 |
64 const Register MathPowTaggedDescriptor::exponent() { return eax; } | 65 const Register MathPowTaggedDescriptor::exponent() { return eax; } |
65 | 66 |
66 | 67 |
67 const Register MathPowIntegerDescriptor::exponent() { | 68 const Register MathPowIntegerDescriptor::exponent() { |
68 return MathPowTaggedDescriptor::exponent(); | 69 return MathPowTaggedDescriptor::exponent(); |
69 } | 70 } |
70 | 71 |
71 | 72 |
72 const Register GrowArrayElementsDescriptor::ObjectRegister() { return eax; } | 73 const Register GrowArrayElementsDescriptor::ObjectRegister() { return eax; } |
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 edx, // the typedarray object | 435 edx, // the typedarray object |
435 eax // the index to load (untagged) | 436 eax // the index to load (untagged) |
436 }; | 437 }; |
437 data->InitializePlatformSpecific(arraysize(registers), registers); | 438 data->InitializePlatformSpecific(arraysize(registers), registers); |
438 } | 439 } |
439 | 440 |
440 } // namespace internal | 441 } // namespace internal |
441 } // namespace v8 | 442 } // namespace v8 |
442 | 443 |
443 #endif // V8_TARGET_ARCH_IA32 | 444 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |