Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index 26b6c0d65c27e8a658815b69dcd3b37bec5a632f..485703eb9369039114499dbd02bbb0e5f7e17ac8 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -3336,7 +3336,9 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) { |
VisitForAccumulatorValue(expr->right()); |
SetExpressionPosition(expr); |
PopOperand(edx); |
- InstanceOfStub stub(isolate()); |
+ __ EmitLoadTypeFeedbackVector(ebx); |
+ __ mov(edi, Immediate(SlotToIndex(expr->CompareOperationFeedbackSlot()))); |
+ InstanceOfWithFeedbackStub stub(isolate()); |
__ CallStub(&stub); |
PrepareForBailoutBeforeSplit(expr, false, NULL, NULL); |
__ cmp(eax, isolate()->factory()->true_value()); |