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 22 matching lines...) Expand all Loading... |
33 const Register LoadWithVectorDescriptor::VectorRegister() { return rbx; } | 33 const Register LoadWithVectorDescriptor::VectorRegister() { return rbx; } |
34 | 34 |
35 | 35 |
36 const Register StoreDescriptor::ReceiverRegister() { return rdx; } | 36 const Register StoreDescriptor::ReceiverRegister() { return rdx; } |
37 const Register StoreDescriptor::NameRegister() { return rcx; } | 37 const Register StoreDescriptor::NameRegister() { return rcx; } |
38 const Register StoreDescriptor::ValueRegister() { return rax; } | 38 const Register StoreDescriptor::ValueRegister() { return rax; } |
39 const Register StoreDescriptor::SlotRegister() { return rdi; } | 39 const Register StoreDescriptor::SlotRegister() { return rdi; } |
40 | 40 |
41 const Register StoreWithVectorDescriptor::VectorRegister() { return rbx; } | 41 const Register StoreWithVectorDescriptor::VectorRegister() { return rbx; } |
42 | 42 |
43 const Register VectorStoreTransitionDescriptor::SlotRegister() { return rdi; } | 43 const Register StoreTransitionDescriptor::SlotRegister() { return rdi; } |
44 const Register VectorStoreTransitionDescriptor::VectorRegister() { return rbx; } | 44 const Register StoreTransitionDescriptor::VectorRegister() { return rbx; } |
45 const Register VectorStoreTransitionDescriptor::MapRegister() { return r11; } | 45 const Register StoreTransitionDescriptor::MapRegister() { return r11; } |
46 | |
47 | |
48 const Register StoreTransitionDescriptor::MapRegister() { return rbx; } | |
49 | |
50 | 46 |
51 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return rbx; } | 47 const Register StoreGlobalViaContextDescriptor::SlotRegister() { return rbx; } |
52 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return rax; } | 48 const Register StoreGlobalViaContextDescriptor::ValueRegister() { return rax; } |
53 | 49 |
54 | 50 |
55 const Register StringCompareDescriptor::LeftRegister() { return rdx; } | 51 const Register StringCompareDescriptor::LeftRegister() { return rdx; } |
56 const Register StringCompareDescriptor::RightRegister() { return rax; } | 52 const Register StringCompareDescriptor::RightRegister() { return rax; } |
57 | 53 |
58 const Register ApiGetterDescriptor::HolderRegister() { return rcx; } | 54 const Register ApiGetterDescriptor::HolderRegister() { return rcx; } |
59 const Register ApiGetterDescriptor::CallbackRegister() { return rbx; } | 55 const Register ApiGetterDescriptor::CallbackRegister() { return rbx; } |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 rbx, // the JSGeneratorObject to resume | 421 rbx, // the JSGeneratorObject to resume |
426 rdx // the resume mode (tagged) | 422 rdx // the resume mode (tagged) |
427 }; | 423 }; |
428 data->InitializePlatformSpecific(arraysize(registers), registers); | 424 data->InitializePlatformSpecific(arraysize(registers), registers); |
429 } | 425 } |
430 | 426 |
431 } // namespace internal | 427 } // namespace internal |
432 } // namespace v8 | 428 } // namespace v8 |
433 | 429 |
434 #endif // V8_TARGET_ARCH_X64 | 430 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |