OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "src/v8.h" |
| 6 |
| 7 #if V8_TARGET_ARCH_ARM |
| 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 const Register LoadConvention::ReceiverRegister() { return r1; } |
| 17 const Register LoadConvention::NameRegister() { return r2; } |
| 18 |
| 19 |
| 20 const Register VectorLoadConvention::SlotRegister() { |
| 21 DCHECK(FLAG_vector_ics); |
| 22 return r0; |
| 23 } |
| 24 |
| 25 |
| 26 const Register FullVectorLoadConvention::VectorRegister() { |
| 27 DCHECK(FLAG_vector_ics); |
| 28 return r3; |
| 29 } |
| 30 |
| 31 |
| 32 const Register StoreConvention::ReceiverRegister() { return r1; } |
| 33 const Register StoreConvention::NameRegister() { return r2; } |
| 34 const Register StoreConvention::ValueRegister() { return r0; } |
| 35 |
| 36 |
| 37 const Register StoreConvention::MapRegister() { return r3; } |
| 38 } |
| 39 } // namespace v8::internal |
| 40 |
| 41 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |