Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(17)

Unified Diff: src/ast/ast.cc

Issue 2423883002: Move should_eager_compile and is_lazily_parsed to DeclarationScope (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/ast/scopes.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « no previous file | src/ast/scopes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698