Index: src/full-codegen/arm64/full-codegen-arm64.cc |
diff --git a/src/full-codegen/arm64/full-codegen-arm64.cc b/src/full-codegen/arm64/full-codegen-arm64.cc |
index 302910b312a896d570a90195d7ff912c01668e5f..8a5c3d8c5616b7407671fe23f662f39fe57bee63 100644 |
--- a/src/full-codegen/arm64/full-codegen-arm64.cc |
+++ b/src/full-codegen/arm64/full-codegen-arm64.cc |
@@ -3369,7 +3369,9 @@ void FullCodeGenerator::VisitCompareOperation(CompareOperation* expr) { |
VisitForAccumulatorValue(expr->right()); |
SetExpressionPosition(expr); |
PopOperand(x1); |
- InstanceOfStub stub(isolate()); |
+ __ EmitLoadTypeFeedbackVector(x3); |
+ __ Mov(x4, SlotToIndex(expr->CompareOperationFeedbackSlot())); |
+ InstanceOfWithFeedbackStub stub(isolate()); |
__ CallStub(&stub); |
PrepareForBailoutBeforeSplit(expr, false, NULL, NULL); |
__ CompareRoot(x0, Heap::kTrueValueRootIndex); |