Index: src/arm64/lithium-codegen-arm64.cc |
diff --git a/src/arm64/lithium-codegen-arm64.cc b/src/arm64/lithium-codegen-arm64.cc |
index 0cc1dfc5bcb36b8cacdcd79cc7b6934040f87dda..d91c2ca58f66547f0900568d37a888b4e3807977 100644 |
--- a/src/arm64/lithium-codegen-arm64.cc |
+++ b/src/arm64/lithium-codegen-arm64.cc |
@@ -3620,7 +3620,8 @@ void LCodeGen::DoLoadKeyedGeneric(LLoadKeyedGeneric* instr) { |
DCHECK(ToRegister(instr->context()).is(cp)); |
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); |
} |