Index: src/arm/full-codegen-arm.cc |
diff --git a/src/arm/full-codegen-arm.cc b/src/arm/full-codegen-arm.cc |
index 660c10fe6269152ae3b82ff81be97eb6d9f44c7c..8f16786487cabb83f7e567b9eac850313517f9d2 100644 |
--- a/src/arm/full-codegen-arm.cc |
+++ b/src/arm/full-codegen-arm.cc |
@@ -1364,7 +1364,13 @@ void FullCodeGenerator::EmitLoadHomeObject(SuperReference* expr) { |
Handle<Symbol> home_object_symbol(isolate()->heap()->home_object_symbol()); |
__ Move(LoadDescriptor::NameRegister(), home_object_symbol); |
- CallLoadIC(NOT_CONTEXTUAL, expr->HomeObjectFeedbackId()); |
+ if (FLAG_vector_ics) { |
+ __ mov(VectorLoadICDescriptor::SlotRegister(), |
+ Operand(Smi::FromInt(expr->HomeObjectFeedbackSlot()))); |
+ CallLoadIC(NOT_CONTEXTUAL); |
+ } else { |
+ CallLoadIC(NOT_CONTEXTUAL, expr->HomeObjectFeedbackId()); |
+ } |
__ cmp(r0, Operand(isolate()->factory()->undefined_value())); |
Label done; |