Index: src/ast/ast.cc |
diff --git a/src/ast/ast.cc b/src/ast/ast.cc |
index 6d76ec98f3adc86c65fa01c294cdaabab842fd09..9b26267b4b37005cc9c0b5db7b9dad428e7b8183 100644 |
--- a/src/ast/ast.cc |
+++ b/src/ast/ast.cc |
@@ -288,6 +288,13 @@ Token::Value Assignment::binary_op() const { |
return Token::ILLEGAL; |
} |
+bool FunctionLiteral::ShouldEagerCompile() const { |
+ return scope()->ShouldEagerCompile(); |
+} |
+ |
+void FunctionLiteral::SetShouldEagerCompile() { |
+ scope()->SetShouldEagerCompile(); |
+} |
bool FunctionLiteral::AllowsLazyCompilation() { |
return scope()->AllowsLazyCompilation(); |