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