OLD | NEW |
| (Empty) |
1 // Copyright 2014 the V8 project authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "src/v8.h" | |
6 | |
7 #if V8_TARGET_ARCH_X87 | |
8 | |
9 #include "src/codegen.h" | |
10 #include "src/ic/ic-conventions.h" | |
11 | |
12 namespace v8 { | |
13 namespace internal { | |
14 | |
15 // IC register specifications | |
16 | |
17 const Register LoadConvention::ReceiverRegister() { return edx; } | |
18 const Register LoadConvention::NameRegister() { return ecx; } | |
19 | |
20 | |
21 const Register VectorLoadConvention::SlotRegister() { return eax; } | |
22 | |
23 | |
24 const Register FullVectorLoadConvention::VectorRegister() { return ebx; } | |
25 | |
26 | |
27 const Register StoreConvention::ReceiverRegister() { return edx; } | |
28 const Register StoreConvention::NameRegister() { return ecx; } | |
29 const Register StoreConvention::ValueRegister() { return eax; } | |
30 const Register StoreConvention::MapRegister() { return ebx; } | |
31 | |
32 | |
33 const Register InstanceofConvention::left() { return eax; } | |
34 const Register InstanceofConvention::right() { return edx; } | |
35 } | |
36 } // namespace v8::internal | |
37 | |
38 #endif // V8_TARGET_ARCH_X87 | |
OLD | NEW |