Index: src/interpreter/bytecode-generator.h |
diff --git a/src/interpreter/bytecode-generator.h b/src/interpreter/bytecode-generator.h |
index be4ca82e36409268f9f041bcf9aa755c7517bc71..0bcc9d954d92e5e14290df00e08fdc0d7c685bff 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); |
@@ -94,6 +96,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); |