Index: src/arm64/full-codegen-arm64.cc |
diff --git a/src/arm64/full-codegen-arm64.cc b/src/arm64/full-codegen-arm64.cc |
index eeaef5f2962690b11b090401b834da73c98469d3..c5d61135174666fac0a2b2df365e420960f44e57 100644 |
--- a/src/arm64/full-codegen-arm64.cc |
+++ b/src/arm64/full-codegen-arm64.cc |
@@ -1350,7 +1350,13 @@ void FullCodeGenerator::EmitLoadHomeObject(SuperReference* expr) { |
Handle<Symbol> home_object_symbol(isolate()->heap()->home_object_symbol()); |
__ Mov(LoadDescriptor::NameRegister(), Operand(home_object_symbol)); |
- CallLoadIC(NOT_CONTEXTUAL, expr->HomeObjectFeedbackId()); |
+ if (FLAG_vector_ics) { |
+ __ Mov(VectorLoadICDescriptor::SlotRegister(), |
+ Smi::FromInt(expr->HomeObjectFeedbackSlot())); |
+ CallLoadIC(NOT_CONTEXTUAL); |
+ } else { |
+ CallLoadIC(NOT_CONTEXTUAL, expr->HomeObjectFeedbackId()); |
+ } |
__ Mov(x10, Operand(isolate()->factory()->undefined_value())); |
__ cmp(x0, x10); |