Index: src/ast/ast.cc |
diff --git a/src/ast/ast.cc b/src/ast/ast.cc |
index a7f00c415d88112b993056312fdad8ec19515117..d0e483210bf7ba8beb0003ce164fadc8cb291c8d 100644 |
--- a/src/ast/ast.cc |
+++ b/src/ast/ast.cc |
@@ -294,7 +294,7 @@ bool FunctionLiteral::ShouldEagerCompile() const { |
void FunctionLiteral::SetShouldEagerCompile() { |
if (body_ == nullptr) return; |
- scope()->SetShouldEagerCompile(); |
+ scope()->set_should_eager_compile(); |
} |
bool FunctionLiteral::AllowsLazyCompilation() { |