Index: src/full-codegen/x64/full-codegen-x64.cc |
diff --git a/src/full-codegen/x64/full-codegen-x64.cc b/src/full-codegen/x64/full-codegen-x64.cc |
index 1be891a95db47dc1efa33ce5f7ec3d72cf9b5505..64f52edd61a93c8f674d8fdcdf756b15e0c5cf74 100644 |
--- a/src/full-codegen/x64/full-codegen-x64.cc |
+++ b/src/full-codegen/x64/full-codegen-x64.cc |
@@ -3325,7 +3325,9 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) { |
VisitForAccumulatorValue(expr->right()); |
SetExpressionPosition(expr); |
PopOperand(rdx); |
- InstanceOfStub stub(isolate()); |
+ __ EmitLoadTypeFeedbackVector(rbx); |
+ __ Set(rdi, SlotToIndex(expr->CompareOperationFeedbackSlot())); |
+ InstanceOfWithFeedbackStub stub(isolate()); |
__ CallStub(&stub); |
PrepareForBailoutBeforeSplit(expr, false, NULL, NULL); |
__ CompareRoot(rax, Heap::kTrueValueRootIndex); |