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 #if V8_TARGET_ARCH_X64 | 5 #if V8_TARGET_ARCH_X64 |
6 | 6 |
7 #include "src/interface-descriptors.h" | 7 #include "src/interface-descriptors.h" |
8 | 8 |
9 namespace v8 { | 9 namespace v8 { |
10 namespace internal { | 10 namespace internal { |
(...skipping 13 matching lines...) Expand all Loading... |
24 const Register LoadDescriptor::NameRegister() { return rcx; } | 24 const Register LoadDescriptor::NameRegister() { return rcx; } |
25 const Register LoadDescriptor::SlotRegister() { return rax; } | 25 const Register LoadDescriptor::SlotRegister() { return rax; } |
26 | 26 |
27 | 27 |
28 const Register LoadWithVectorDescriptor::VectorRegister() { return rbx; } | 28 const Register LoadWithVectorDescriptor::VectorRegister() { return rbx; } |
29 | 29 |
30 | 30 |
31 const Register StoreDescriptor::ReceiverRegister() { return rdx; } | 31 const Register StoreDescriptor::ReceiverRegister() { return rdx; } |
32 const Register StoreDescriptor::NameRegister() { return rcx; } | 32 const Register StoreDescriptor::NameRegister() { return rcx; } |
33 const Register StoreDescriptor::ValueRegister() { return rax; } | 33 const Register StoreDescriptor::ValueRegister() { return rax; } |
| 34 const Register StoreDescriptor::SlotRegister() { return rdi; } |
34 | 35 |
35 | 36 const Register StoreWithVectorDescriptor::VectorRegister() { return rbx; } |
36 const Register VectorStoreICTrampolineDescriptor::SlotRegister() { return rdi; } | |
37 | |
38 | |
39 const Register VectorStoreICDescriptor::VectorRegister() { return rbx; } | |
40 | |
41 | 37 |
42 const Register VectorStoreTransitionDescriptor::SlotRegister() { return rdi; } | 38 const Register VectorStoreTransitionDescriptor::SlotRegister() { return rdi; } |
43 const Register VectorStoreTransitionDescriptor::VectorRegister() { return rbx; } | 39 const Register VectorStoreTransitionDescriptor::VectorRegister() { return rbx; } |
44 const Register VectorStoreTransitionDescriptor::MapRegister() { return r11; } | 40 const Register VectorStoreTransitionDescriptor::MapRegister() { return r11; } |
45 | 41 |
46 | 42 |
47 const Register StoreTransitionDescriptor::MapRegister() { return rbx; } | 43 const Register StoreTransitionDescriptor::MapRegister() { return rbx; } |
48 | 44 |
49 | 45 |
50 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return rbx; } | 46 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return rbx; } |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 rbx, // the JSGeneratorObject to resume | 403 rbx, // the JSGeneratorObject to resume |
408 rdx // the resume mode (tagged) | 404 rdx // the resume mode (tagged) |
409 }; | 405 }; |
410 data->InitializePlatformSpecific(arraysize(registers), registers); | 406 data->InitializePlatformSpecific(arraysize(registers), registers); |
411 } | 407 } |
412 | 408 |
413 } // namespace internal | 409 } // namespace internal |
414 } // namespace v8 | 410 } // namespace v8 |
415 | 411 |
416 #endif // V8_TARGET_ARCH_X64 | 412 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |