| 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 17 matching lines...) Expand all Loading... |
| 28 | 28 |
| 29 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return edi; } | 29 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return edi; } |
| 30 | 30 |
| 31 | 31 |
| 32 const Register VectorStoreICDescriptor::VectorRegister() { return ebx; } | 32 const Register VectorStoreICDescriptor::VectorRegister() { return ebx; } |
| 33 | 33 |
| 34 | 34 |
| 35 const Register StoreTransitionDescriptor::MapRegister() { return ebx; } | 35 const Register StoreTransitionDescriptor::MapRegister() { return ebx; } |
| 36 | 36 |
| 37 | 37 |
| 38 const Register LoadGlobalViaContextDescriptor::DepthRegister() { return edx; } |
| 39 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return ebx; } |
| 40 const Register LoadGlobalViaContextDescriptor::NameRegister() { return ecx; } |
| 41 |
| 42 |
| 43 const Register StoreGlobalViaContextDescriptor::DepthRegister() { return edx; } |
| 44 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return ebx; } |
| 45 const Register StoreGlobalViaContextDescriptor::NameRegister() { return ecx; } |
| 46 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return eax; } |
| 47 |
| 48 |
| 38 const Register ElementTransitionAndStoreDescriptor::MapRegister() { | 49 const Register ElementTransitionAndStoreDescriptor::MapRegister() { |
| 39 return ebx; | 50 return ebx; |
| 40 } | 51 } |
| 41 | 52 |
| 42 | 53 |
| 43 const Register InstanceofDescriptor::left() { return eax; } | 54 const Register InstanceofDescriptor::left() { return eax; } |
| 44 const Register InstanceofDescriptor::right() { return edx; } | 55 const Register InstanceofDescriptor::right() { return edx; } |
| 45 | 56 |
| 46 | 57 |
| 47 const Register ArgumentsAccessReadDescriptor::index() { return edx; } | 58 const Register ArgumentsAccessReadDescriptor::index() { return edx; } |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 337 Register registers[] = { | 348 Register registers[] = { |
| 338 edi, // math rounding function | 349 edi, // math rounding function |
| 339 edx, // vector slot id | 350 edx, // vector slot id |
| 340 }; | 351 }; |
| 341 data->InitializePlatformSpecific(arraysize(registers), registers); | 352 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 342 } | 353 } |
| 343 } // namespace internal | 354 } // namespace internal |
| 344 } // namespace v8 | 355 } // namespace v8 |
| 345 | 356 |
| 346 #endif // V8_TARGET_ARCH_X87 | 357 #endif // V8_TARGET_ARCH_X87 |
| OLD | NEW |