Index: src/interpreter/bytecode-generator.cc |
diff --git a/src/interpreter/bytecode-generator.cc b/src/interpreter/bytecode-generator.cc |
index 3cf25b982d7865ef5724d9856728e0fa9cc89f92..f6276da9a7ea954efba6d7799c7b438330166a6f 100644 |
--- a/src/interpreter/bytecode-generator.cc |
+++ b/src/interpreter/bytecode-generator.cc |
@@ -722,7 +722,6 @@ void BytecodeGenerator::VisitIterationHeader(IterationStatement* stmt, |
// on-stack replacement when armed for the given loop nesting depth. |
if (FLAG_ignition_osr) { |
// TODO(4764): Merge this with another bytecode (e.g. {Jump} back edge). |
- // TODO(4764): Investigate interaction with generators. |
int level = Min(loop_depth_, AbstractCode::kMaxLoopNestingMarker - 1); |
builder()->OsrPoll(level); |
} |