Index: src/x87/full-codegen-x87.cc |
diff --git a/src/x87/full-codegen-x87.cc b/src/x87/full-codegen-x87.cc |
index f95359b60759ff82358ad3e4a1044da54093cc2c..295d087777b0ec3d7b639326729b016f911a4632 100644 |
--- a/src/x87/full-codegen-x87.cc |
+++ b/src/x87/full-codegen-x87.cc |
@@ -1276,7 +1276,13 @@ void FullCodeGenerator::EmitLoadHomeObject(SuperReference* expr) { |
Handle<Symbol> home_object_symbol(isolate()->heap()->home_object_symbol()); |
__ mov(LoadDescriptor::NameRegister(), home_object_symbol); |
- CallLoadIC(NOT_CONTEXTUAL, expr->HomeObjectFeedbackId()); |
+ if (FLAG_vector_ics) { |
+ __ mov(VectorLoadICDescriptor::SlotRegister(), |
+ Immediate(Smi::FromInt(expr->HomeObjectFeedbackSlot()))); |
+ CallLoadIC(NOT_CONTEXTUAL); |
+ } else { |
+ CallLoadIC(NOT_CONTEXTUAL, expr->HomeObjectFeedbackId()); |
+ } |
__ cmp(eax, isolate()->factory()->undefined_value()); |
Label done; |