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; } | 14 const Register CallInterfaceDescriptor::ContextRegister() { return rsi; } |
15 | 15 |
16 | 16 |
17 const Register LoadDescriptor::ReceiverRegister() { return rdx; } | 17 const Register LoadDescriptor::ReceiverRegister() { return rdx; } |
18 const Register LoadDescriptor::NameRegister() { return rcx; } | 18 const Register LoadDescriptor::NameRegister() { return rcx; } |
| 19 const Register LoadDescriptor::SlotRegister() { return rax; } |
19 | 20 |
20 | 21 |
21 const Register VectorLoadICTrampolineDescriptor::SlotRegister() { return rax; } | 22 const Register LoadWithVectorDescriptor::VectorRegister() { return rbx; } |
22 | |
23 | |
24 const Register VectorLoadICDescriptor::VectorRegister() { return rbx; } | |
25 | 23 |
26 | 24 |
27 const Register StoreDescriptor::ReceiverRegister() { return rdx; } | 25 const Register StoreDescriptor::ReceiverRegister() { return rdx; } |
28 const Register StoreDescriptor::NameRegister() { return rcx; } | 26 const Register StoreDescriptor::NameRegister() { return rcx; } |
29 const Register StoreDescriptor::ValueRegister() { return rax; } | 27 const Register StoreDescriptor::ValueRegister() { return rax; } |
30 | 28 |
31 | 29 |
32 const Register StoreTransitionDescriptor::MapRegister() { return rbx; } | 30 const Register StoreTransitionDescriptor::MapRegister() { return rbx; } |
33 | 31 |
34 | 32 |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 Representation::Tagged(), // | 380 Representation::Tagged(), // |
383 Representation::Tagged(), // | 381 Representation::Tagged(), // |
384 Representation::Tagged(), // | 382 Representation::Tagged(), // |
385 }; | 383 }; |
386 data->Initialize(arraysize(registers), registers, representations); | 384 data->Initialize(arraysize(registers), registers, representations); |
387 } | 385 } |
388 } | 386 } |
389 } // namespace v8::internal | 387 } // namespace v8::internal |
390 | 388 |
391 #endif // V8_TARGET_ARCH_X64 | 389 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |