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