Index: src/ic/arm/stub-cache-arm.cc |
diff --git a/src/ic/arm/stub-cache-arm.cc b/src/ic/arm/stub-cache-arm.cc |
index 86710eb29a8f83240fe5292f2d0ed384a18b7887..cdd04faf388c3a514cd5cd3ea50d4c5136ffacf2 100644 |
--- a/src/ic/arm/stub-cache-arm.cc |
+++ b/src/ic/arm/stub-cache-arm.cc |
@@ -120,14 +120,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 |