| 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 #include "src/v8.h" | 5 #include "src/v8.h" |
| 6 | 6 |
| 7 #if V8_TARGET_ARCH_X87 | 7 #if V8_TARGET_ARCH_X87 |
| 8 | 8 |
| 9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" |
| 10 | 10 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return ebx; } | 39 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return ebx; } |
| 40 const Register LoadGlobalViaContextDescriptor::NameRegister() { return ecx; } | 40 const Register LoadGlobalViaContextDescriptor::NameRegister() { return ecx; } |
| 41 | 41 |
| 42 | 42 |
| 43 const Register StoreGlobalViaContextDescriptor::DepthRegister() { return edx; } | 43 const Register StoreGlobalViaContextDescriptor::DepthRegister() { return edx; } |
| 44 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return ebx; } | 44 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return ebx; } |
| 45 const Register StoreGlobalViaContextDescriptor::NameRegister() { return ecx; } | 45 const Register StoreGlobalViaContextDescriptor::NameRegister() { return ecx; } |
| 46 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return eax; } | 46 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return eax; } |
| 47 | 47 |
| 48 | 48 |
| 49 const Register ElementTransitionAndStoreDescriptor::MapRegister() { | |
| 50 return ebx; | |
| 51 } | |
| 52 | |
| 53 | |
| 54 const Register InstanceofDescriptor::left() { return eax; } | 49 const Register InstanceofDescriptor::left() { return eax; } |
| 55 const Register InstanceofDescriptor::right() { return edx; } | 50 const Register InstanceofDescriptor::right() { return edx; } |
| 56 | 51 |
| 57 | 52 |
| 58 const Register ArgumentsAccessReadDescriptor::index() { return edx; } | 53 const Register ArgumentsAccessReadDescriptor::index() { return edx; } |
| 59 const Register ArgumentsAccessReadDescriptor::parameter_count() { return eax; } | 54 const Register ArgumentsAccessReadDescriptor::parameter_count() { return eax; } |
| 60 | 55 |
| 61 | 56 |
| 62 const Register ApiGetterDescriptor::function_address() { return edx; } | 57 const Register ApiGetterDescriptor::function_address() { return edx; } |
| 63 | 58 |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 edi, // math rounding function | 354 edi, // math rounding function |
| 360 edx, // vector slot id | 355 edx, // vector slot id |
| 361 ebx // type vector | 356 ebx // type vector |
| 362 }; | 357 }; |
| 363 data->InitializePlatformSpecific(arraysize(registers), registers); | 358 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 364 } | 359 } |
| 365 } // namespace internal | 360 } // namespace internal |
| 366 } // namespace v8 | 361 } // namespace v8 |
| 367 | 362 |
| 368 #endif // V8_TARGET_ARCH_X87 | 363 #endif // V8_TARGET_ARCH_X87 |
| OLD | NEW |