Index: src/interpreter/bytecode-generator.cc |
diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc |
index 0af549ca266c36216362c248b7d63ae9cf2bff40..4157ed531597037845deea68284f4bf043a20018 100644 |
--- a/src/interpreter/bytecode-generator.cc |
+++ b/src/interpreter/bytecode-generator.cc |
@@ -1128,7 +1128,8 @@ void BytecodeGenerator::VisitForInStatement(ForInStatement* stmt) { |
builder()->ForInDone(index, cache_length); |
loop_builder.BreakIfTrue(); |
DCHECK(Register::AreContiguous(cache_type, cache_array)); |
- builder()->ForInNext(receiver, index, cache_type); |
+ FeedbackVectorSlot slot = stmt->ForInFeedbackSlot(); |
+ builder()->ForInNext(receiver, index, cache_type, feedback_index(slot)); |
loop_builder.ContinueIfUndefined(); |
VisitForInAssignment(stmt->each(), stmt->EachFeedbackSlot()); |
VisitIterationBody(stmt, &loop_builder); |