Index: src/interpreter/bytecode-generator.h |
diff --git a/src/interpreter/bytecode-generator.h b/src/interpreter/bytecode-generator.h |
index c4a3ce0ecad3483662e8cc44c4d2de8280623061..3bf7de5da02ae3c6eaaf354d0f273d849413308b 100644 |
--- a/src/interpreter/bytecode-generator.h |
+++ b/src/interpreter/bytecode-generator.h |
@@ -13,6 +13,8 @@ namespace v8 { |
namespace internal { |
namespace interpreter { |
+class LoopBuilder; |
+ |
class BytecodeGenerator final : public AstVisitor { |
public: |
BytecodeGenerator(Isolate* isolate, Zone* zone); |
@@ -92,6 +94,9 @@ class BytecodeGenerator final : public AstVisitor { |
Register value_out); |
void VisitForInAssignment(Expression* expr, FeedbackVectorSlot slot); |
+ // Visit the body of a loop iteration. |
+ void VisitIterationBody(IterationStatement* stmt, LoopBuilder* loop_builder); |
+ |
// Visit a statement and switch scopes, the context is in the accumulator. |
void VisitInScope(Statement* stmt, Scope* scope); |