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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 const Register StoreTransitionDescriptor::MapRegister() { return ebx; } | 46 const Register StoreTransitionDescriptor::MapRegister() { return ebx; } |
47 | 47 |
48 | 48 |
49 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return ebx; } | 49 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return ebx; } |
50 | 50 |
51 | 51 |
52 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return ebx; } | 52 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return ebx; } |
53 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return eax; } | 53 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return eax; } |
54 | 54 |
55 | 55 |
56 const Register InstanceofDescriptor::left() { return eax; } | 56 const Register InstanceOfDescriptor::LeftRegister() { return edx; } |
57 const Register InstanceofDescriptor::right() { return edx; } | 57 const Register InstanceOfDescriptor::RightRegister() { return eax; } |
58 | 58 |
59 | 59 |
60 const Register ArgumentsAccessReadDescriptor::index() { return edx; } | 60 const Register ArgumentsAccessReadDescriptor::index() { return edx; } |
61 const Register ArgumentsAccessReadDescriptor::parameter_count() { return eax; } | 61 const Register ArgumentsAccessReadDescriptor::parameter_count() { return eax; } |
62 | 62 |
63 | 63 |
64 const Register ApiGetterDescriptor::function_address() { return edx; } | 64 const Register ApiGetterDescriptor::function_address() { return edx; } |
65 | 65 |
66 | 66 |
67 const Register MathPowTaggedDescriptor::exponent() { return eax; } | 67 const Register MathPowTaggedDescriptor::exponent() { return eax; } |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 edi, // math rounding function | 373 edi, // math rounding function |
374 edx, // vector slot id | 374 edx, // vector slot id |
375 ebx // type vector | 375 ebx // type vector |
376 }; | 376 }; |
377 data->InitializePlatformSpecific(arraysize(registers), registers); | 377 data->InitializePlatformSpecific(arraysize(registers), registers); |
378 } | 378 } |
379 } // namespace internal | 379 } // namespace internal |
380 } // namespace v8 | 380 } // namespace v8 |
381 | 381 |
382 #endif // V8_TARGET_ARCH_X87 | 382 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |