Index: src/ic/arm64/stub-cache-arm64.cc |
diff --git a/src/ic/arm64/stub-cache-arm64.cc b/src/ic/arm64/stub-cache-arm64.cc |
index eb82f2af868b73b13f785e47272c746b38211d79..ecd7fe1534e1305d89416376a1dc4f6bc7452eb2 100644 |
--- a/src/ic/arm64/stub-cache-arm64.cc |
+++ b/src/ic/arm64/stub-cache-arm64.cc |
@@ -111,14 +111,8 @@ |
// extra3 don't conflict with the vector and slot registers, which need |
// to be preserved for a handler call or miss. |
if (IC::ICUseVector(ic_kind)) { |
- Register vector, slot; |
- if (ic_kind == Code::STORE_IC || ic_kind == Code::KEYED_STORE_IC) { |
- vector = VectorStoreICDescriptor::VectorRegister(); |
- slot = VectorStoreICDescriptor::SlotRegister(); |
- } else { |
- vector = LoadWithVectorDescriptor::VectorRegister(); |
- slot = LoadWithVectorDescriptor::SlotRegister(); |
- } |
+ Register vector = LoadWithVectorDescriptor::VectorRegister(); |
+ Register slot = LoadWithVectorDescriptor::SlotRegister(); |
DCHECK(!AreAliased(vector, slot, scratch, extra, extra2, extra3)); |
} |
#endif |