| 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_X64 | 7 #if V8_TARGET_ARCH_X64 |
| 8 | 8 |
| 9 #include "src/interface-descriptors.h" | 9 #include "src/interface-descriptors.h" |
| 10 | 10 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 | 29 |
| 30 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return rdi; } | 30 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return rdi; } |
| 31 | 31 |
| 32 | 32 |
| 33 const Register VectorStoreICDescriptor::VectorRegister() { return rbx; } | 33 const Register VectorStoreICDescriptor::VectorRegister() { return rbx; } |
| 34 | 34 |
| 35 | 35 |
| 36 const Register StoreTransitionDescriptor::MapRegister() { return rbx; } | 36 const Register StoreTransitionDescriptor::MapRegister() { return rbx; } |
| 37 | 37 |
| 38 | 38 |
| 39 const Register LoadGlobalViaContextDescriptor::DepthRegister() { return rdx; } | |
| 40 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return rbx; } | 39 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return rbx; } |
| 41 const Register LoadGlobalViaContextDescriptor::NameRegister() { return rcx; } | 40 const Register LoadGlobalViaContextDescriptor::NameRegister() { return rcx; } |
| 42 | 41 |
| 43 | 42 |
| 44 const Register StoreGlobalViaContextDescriptor::DepthRegister() { return rdx; } | |
| 45 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return rbx; } | 43 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return rbx; } |
| 46 const Register StoreGlobalViaContextDescriptor::NameRegister() { return rcx; } | 44 const Register StoreGlobalViaContextDescriptor::NameRegister() { return rcx; } |
| 47 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return rax; } | 45 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return rax; } |
| 48 | 46 |
| 49 | 47 |
| 50 const Register InstanceofDescriptor::left() { return rax; } | 48 const Register InstanceofDescriptor::left() { return rax; } |
| 51 const Register InstanceofDescriptor::right() { return rdx; } | 49 const Register InstanceofDescriptor::right() { return rdx; } |
| 52 | 50 |
| 53 | 51 |
| 54 const Register ArgumentsAccessReadDescriptor::index() { return rdx; } | 52 const Register ArgumentsAccessReadDescriptor::index() { return rdx; } |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 rdi, // math rounding function | 360 rdi, // math rounding function |
| 363 rdx, // vector slot id | 361 rdx, // vector slot id |
| 364 rbx // type vector | 362 rbx // type vector |
| 365 }; | 363 }; |
| 366 data->InitializePlatformSpecific(arraysize(registers), registers); | 364 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 367 } | 365 } |
| 368 } // namespace internal | 366 } // namespace internal |
| 369 } // namespace v8 | 367 } // namespace v8 |
| 370 | 368 |
| 371 #endif // V8_TARGET_ARCH_X64 | 369 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |