Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index 68cf58905f87e1f62e0d2186409657ba29861d39..926442e40eb79522bfd3bbda673151a1c23c37ca 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -2826,9 +2826,12 @@ void AstGraphBuilder::VisitCompareOperation(CompareOperation* expr) { |
case Token::GTE: |
op = javascript()->GreaterThanOrEqual(hint); |
break; |
- case Token::INSTANCEOF: |
- op = javascript()->InstanceOf(); |
+ case Token::INSTANCEOF: { |
+ VectorSlotPair feedback = |
+ CreateVectorSlotPair(expr->CompareOperationFeedbackSlot()); |
+ op = javascript()->InstanceOf(feedback); |
break; |
+ } |
case Token::IN: |
op = javascript()->HasProperty(); |
break; |