| 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_IA32 | 7 #if V8_TARGET_ARCH_IA32 |
| 8 | 8 |
| 9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" |
| 10 | 10 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 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() { | 35 const Register StoreTransitionDescriptor::MapRegister() { |
| 36 return FLAG_vector_stores ? no_reg : ebx; | 36 return FLAG_vector_stores ? no_reg : ebx; |
| 37 } | 37 } |
| 38 | 38 |
| 39 | 39 |
| 40 const Register LoadGlobalViaContextDescriptor::DepthRegister() { return edx; } | |
| 41 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return ebx; } | 40 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return ebx; } |
| 42 const Register LoadGlobalViaContextDescriptor::NameRegister() { return ecx; } | 41 const Register LoadGlobalViaContextDescriptor::NameRegister() { return ecx; } |
| 43 | 42 |
| 44 | 43 |
| 45 const Register StoreGlobalViaContextDescriptor::DepthRegister() { return edx; } | |
| 46 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return ebx; } | 44 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return ebx; } |
| 47 const Register StoreGlobalViaContextDescriptor::NameRegister() { return ecx; } | 45 const Register StoreGlobalViaContextDescriptor::NameRegister() { return ecx; } |
| 48 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return eax; } | 46 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return eax; } |
| 49 | 47 |
| 50 | 48 |
| 51 const Register InstanceofDescriptor::left() { return eax; } | 49 const Register InstanceofDescriptor::left() { return eax; } |
| 52 const Register InstanceofDescriptor::right() { return edx; } | 50 const Register InstanceofDescriptor::right() { return edx; } |
| 53 | 51 |
| 54 | 52 |
| 55 const Register ArgumentsAccessReadDescriptor::index() { return edx; } | 53 const Register ArgumentsAccessReadDescriptor::index() { return edx; } |
| (...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 370 edi, // math rounding function | 368 edi, // math rounding function |
| 371 edx, // vector slot id | 369 edx, // vector slot id |
| 372 ebx // type vector | 370 ebx // type vector |
| 373 }; | 371 }; |
| 374 data->InitializePlatformSpecific(arraysize(registers), registers); | 372 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 375 } | 373 } |
| 376 } // namespace internal | 374 } // namespace internal |
| 377 } // namespace v8 | 375 } // namespace v8 |
| 378 | 376 |
| 379 #endif // V8_TARGET_ARCH_IA32 | 377 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |