Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index 2453509c2dd67a28153da83fbba148c335cc0bba..17afa48914d0e2968be902cb89a4073d5b507f17 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); |
} |