Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 3b72d690fe514c17d17d939b3ad3b13d24748b86..0a138c7129bb9510e5fc98cfe455932cbcf362f1 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -3310,7 +3310,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); |
} |