Index: src/ast/ast-traversal-visitor.h |
diff --git a/src/ast/ast-traversal-visitor.h b/src/ast/ast-traversal-visitor.h |
index d93e02ffe0b2b634fb6ada9cc845f92285dbb24d..a17f08acb0a926c8a90abd79c37535872fbf7426 100644 |
--- a/src/ast/ast-traversal-visitor.h |
+++ b/src/ast/ast-traversal-visitor.h |
@@ -288,7 +288,7 @@ void AstTraversalVisitor<Subclass>::VisitFunctionLiteral( |
DeclarationScope* scope = expr->scope(); |
RECURSE_EXPRESSION(VisitDeclarations(scope->declarations())); |
// A lazily parsed function literal won't have a body. |
- if (expr->scope()->is_lazily_parsed()) return; |
+ if (expr->scope()->was_lazily_parsed()) return; |
RECURSE_EXPRESSION(VisitStatements(expr->body())); |
} |