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 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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 ebx, // the JSGeneratorObject to resume | 423 ebx, // the JSGeneratorObject to resume |
425 edx // the resume mode (tagged) | 424 edx // the resume mode (tagged) |
426 }; | 425 }; |
427 data->InitializePlatformSpecific(arraysize(registers), registers); | 426 data->InitializePlatformSpecific(arraysize(registers), registers); |
428 } | 427 } |
429 | 428 |
430 } // namespace internal | 429 } // namespace internal |
431 } // namespace v8 | 430 } // namespace v8 |
432 | 431 |
433 #endif // V8_TARGET_ARCH_X87 | 432 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |