Index: src/ic/arm64/ic-conventions-arm64.cc |
diff --git a/src/ic/arm64/ic-conventions-arm64.cc b/src/ic/arm64/ic-conventions-arm64.cc |
index 53c846e3cb2f63ddfa9c6b22b8471cf0b64e6d6b..4de2a574e00150875f0b574ee7722a1f0db87fbb 100644 |
--- a/src/ic/arm64/ic-conventions-arm64.cc |
+++ b/src/ic/arm64/ic-conventions-arm64.cc |
@@ -16,16 +16,11 @@ namespace internal { |
const Register LoadConvention::ReceiverRegister() { return x1; } |
const Register LoadConvention::NameRegister() { return x2; } |
-const Register VectorLoadConvention::SlotRegister() { |
- DCHECK(FLAG_vector_ics); |
- return x0; |
-} |
+const Register VectorLoadConvention::SlotRegister() { return x0; } |
-const Register FullVectorLoadConvention::VectorRegister() { |
- DCHECK(FLAG_vector_ics); |
- return x3; |
-} |
+ |
+const Register FullVectorLoadConvention::VectorRegister() { return x3; } |
const Register StoreConvention::ReceiverRegister() { return x1; } |
@@ -34,6 +29,18 @@ const Register StoreConvention::ValueRegister() { return x0; } |
const Register StoreConvention::MapRegister() { return x3; } |
+ |
+ |
+const Register InstanceofConvention::left() { |
+ // Object to check (instanceof lhs). |
+ return x11; |
+} |
+ |
+ |
+const Register InstanceofConvention::right() { |
+ // Constructor function (instanceof rhs). |
+ return x10; |
+} |
} |
} // namespace v8::internal |