| 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 |
| 11 namespace v8 { | 11 namespace v8 { |
| 12 namespace internal { | 12 namespace internal { |
| 13 | 13 |
| 14 const Register CallInterfaceDescriptor::ContextRegister() { return rsi; } | |
| 15 | |
| 16 | |
| 17 const Register LoadDescriptor::ReceiverRegister() { return rdx; } | 14 const Register LoadDescriptor::ReceiverRegister() { return rdx; } |
| 18 const Register LoadDescriptor::NameRegister() { return rcx; } | 15 const Register LoadDescriptor::NameRegister() { return rcx; } |
| 19 const Register LoadDescriptor::SlotRegister() { return rax; } | 16 const Register LoadDescriptor::SlotRegister() { return rax; } |
| 20 | 17 |
| 21 | 18 |
| 22 const Register LoadWithVectorDescriptor::VectorRegister() { return rbx; } | 19 const Register LoadWithVectorDescriptor::VectorRegister() { return rbx; } |
| 23 | 20 |
| 24 | 21 |
| 25 const Register StoreDescriptor::ReceiverRegister() { return rdx; } | 22 const Register StoreDescriptor::ReceiverRegister() { return rdx; } |
| 26 const Register StoreDescriptor::NameRegister() { return rcx; } | 23 const Register StoreDescriptor::NameRegister() { return rcx; } |
| (...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 rdi, // math rounding function | 356 rdi, // math rounding function |
| 360 rdx, // vector slot id | 357 rdx, // vector slot id |
| 361 rbx // type vector | 358 rbx // type vector |
| 362 }; | 359 }; |
| 363 data->InitializePlatformSpecific(arraysize(registers), registers); | 360 data->InitializePlatformSpecific(arraysize(registers), registers); |
| 364 } | 361 } |
| 365 } // namespace internal | 362 } // namespace internal |
| 366 } // namespace v8 | 363 } // namespace v8 |
| 367 | 364 |
| 368 #endif // V8_TARGET_ARCH_X64 | 365 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |