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 11 matching lines...) Expand all Loading... |
22 | 22 |
23 | 23 |
24 const Register VectorLoadICDescriptor::VectorRegister() { return rbx; } | 24 const Register VectorLoadICDescriptor::VectorRegister() { return rbx; } |
25 | 25 |
26 | 26 |
27 const Register StoreDescriptor::ReceiverRegister() { return rdx; } | 27 const Register StoreDescriptor::ReceiverRegister() { return rdx; } |
28 const Register StoreDescriptor::NameRegister() { return rcx; } | 28 const Register StoreDescriptor::NameRegister() { return rcx; } |
29 const Register StoreDescriptor::ValueRegister() { return rax; } | 29 const Register StoreDescriptor::ValueRegister() { return rax; } |
30 | 30 |
31 | 31 |
32 const Register ExtendStorageDescriptor::MapRegister() { return rbx; } | 32 const Register StoreTransitionDescriptor::MapRegister() { return rbx; } |
33 | 33 |
34 | 34 |
35 const Register ElementTransitionAndStoreDescriptor::MapRegister() { | 35 const Register ElementTransitionAndStoreDescriptor::MapRegister() { |
36 return rbx; | 36 return rbx; |
37 } | 37 } |
38 | 38 |
39 | 39 |
40 const Register InstanceofDescriptor::left() { return rax; } | 40 const Register InstanceofDescriptor::left() { return rax; } |
41 const Register InstanceofDescriptor::right() { return rdx; } | 41 const Register InstanceofDescriptor::right() { return rdx; } |
42 | 42 |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 Representation::Tagged(), // call_data | 299 Representation::Tagged(), // call_data |
300 Representation::Tagged(), // holder | 300 Representation::Tagged(), // holder |
301 Representation::External(), // api_function_address | 301 Representation::External(), // api_function_address |
302 }; | 302 }; |
303 data->Initialize(arraysize(registers), registers, representations); | 303 data->Initialize(arraysize(registers), registers, representations); |
304 } | 304 } |
305 } | 305 } |
306 } // namespace v8::internal | 306 } // namespace v8::internal |
307 | 307 |
308 #endif // V8_TARGET_ARCH_X64 | 308 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |