Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 72bb270e7a6fcfe384da3579b12a989e721b9cd2..12a3cb862d6c90ea5063a47b068764cb28cfabcc 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -3235,7 +3235,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); |
} |