Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 8a647d880b3bce58b893eed0dcb380d9a70db919..129fca69d8ca3dd6ddc1b2b93c1be6fab7ef7b3b 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -3399,7 +3399,7 @@ void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) { |
DCHECK(ToRegister(instr->object()).is(LoadDescriptor::ReceiverRegister())); |
DCHECK(ToRegister(instr->key()).is(LoadDescriptor::NameRegister())); |
- if (FLAG_vector_ics) { |
+ if (instr->hydrogen()->HasVectorAndSlot()) { |
EmitVectorLoadICRegisters<LLoadKeyedGeneric>(instr); |
} |