Index: src/ic/mips/stub-cache-mips.cc |
diff --git a/src/ic/mips/stub-cache-mips.cc b/src/ic/mips/stub-cache-mips.cc |
index 1a9897e8f35000c4c44d2d48a17224f3f1b067d1..12cacc8f4fed31ce4597dc61fddb9ad2e125e1eb 100644 |
--- a/src/ic/mips/stub-cache-mips.cc |
+++ b/src/ic/mips/stub-cache-mips.cc |
@@ -116,14 +116,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 |