| 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 29 matching lines...) Expand all Loading... |
| 40 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return rbx; } | 40 const Register LoadGlobalViaContextDescriptor::SlotRegister() { return rbx; } |
| 41 const Register LoadGlobalViaContextDescriptor::NameRegister() { return rcx; } | 41 const Register LoadGlobalViaContextDescriptor::NameRegister() { return rcx; } |
| 42 | 42 |
| 43 | 43 |
| 44 const Register StoreGlobalViaContextDescriptor::DepthRegister() { return rdx; } | 44 const Register StoreGlobalViaContextDescriptor::DepthRegister() { return rdx; } |
| 45 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return rbx; } | 45 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return rbx; } |
| 46 const Register StoreGlobalViaContextDescriptor::NameRegister() { return rcx; } | 46 const Register StoreGlobalViaContextDescriptor::NameRegister() { return rcx; } |
| 47 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return rax; } | 47 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return rax; } |
| 48 | 48 |
| 49 | 49 |
| 50 const Register ElementTransitionAndStoreDescriptor::MapRegister() { | |
| 51 return rbx; | |
| 52 } | |
| 53 | |
| 54 | |
| 55 const Register InstanceofDescriptor::left() { return rax; } | 50 const Register InstanceofDescriptor::left() { return rax; } |
| 56 const Register InstanceofDescriptor::right() { return rdx; } | 51 const Register InstanceofDescriptor::right() { return rdx; } |
| 57 | 52 |
| 58 | 53 |
| 59 const Register ArgumentsAccessReadDescriptor::index() { return rdx; } | 54 const Register ArgumentsAccessReadDescriptor::index() { return rdx; } |
| 60 const Register ArgumentsAccessReadDescriptor::parameter_count() { return rax; } | 55 const Register ArgumentsAccessReadDescriptor::parameter_count() { return rax; } |
| 61 | 56 |
| 62 | 57 |
| 63 const Register ApiGetterDescriptor::function_address() { return r8; } | 58 const Register ApiGetterDescriptor::function_address() { return r8; } |
| 64 | 59 |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 rdi, // math rounding function | 354 rdi, // math rounding function |
| 360 rdx, // vector slot id | 355 rdx, // vector slot id |
| 361 rbx // type vector | 356 rbx // 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_X64 | 363 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |