OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 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 | 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_X87 |
8 | 8 |
9 #include "src/codegen.h" | 9 #include "src/codegen.h" |
10 #include "src/ic/ic-conventions.h" | 10 #include "src/ic/ic-conventions.h" |
11 | 11 |
12 namespace v8 { | 12 namespace v8 { |
13 namespace internal { | 13 namespace internal { |
14 | 14 |
15 // IC register specifications | 15 // IC register specifications |
16 | 16 |
17 const Register LoadConvention::ReceiverRegister() { return edx; } | 17 const Register LoadConvention::ReceiverRegister() { return edx; } |
(...skipping 12 matching lines...) Expand all Loading... |
30 } | 30 } |
31 | 31 |
32 | 32 |
33 const Register StoreConvention::ReceiverRegister() { return edx; } | 33 const Register StoreConvention::ReceiverRegister() { return edx; } |
34 const Register StoreConvention::NameRegister() { return ecx; } | 34 const Register StoreConvention::NameRegister() { return ecx; } |
35 const Register StoreConvention::ValueRegister() { return eax; } | 35 const Register StoreConvention::ValueRegister() { return eax; } |
36 const Register StoreConvention::MapRegister() { return ebx; } | 36 const Register StoreConvention::MapRegister() { return ebx; } |
37 } | 37 } |
38 } // namespace v8::internal | 38 } // namespace v8::internal |
39 | 39 |
40 #endif // V8_TARGET_ARCH_IA32 | 40 #endif // V8_TARGET_ARCH_X87 |
OLD | NEW |