Chromium Code Reviews

Unified Diff: src/ast/ast.cc

Issue 2399853002: [parser] Lazy compilation no longer needs context chain. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « src/ast/ast.h ('k') | src/ast/scopes.h » ('j') | src/objects.cc » ('J')
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 97d1f9d7701638713ef2ba9815026352f1a21b73..6d76ec98f3adc86c65fa01c294cdaabab842fd09 100644
--- a/src/ast/ast.cc
+++ b/src/ast/ast.cc
@@ -294,11 +294,6 @@ bool FunctionLiteral::AllowsLazyCompilation() {
}
-bool FunctionLiteral::AllowsLazyCompilationWithoutContext() {
- return scope()->AllowsLazyCompilationWithoutContext();
-}
-
-
int FunctionLiteral::start_position() const {
return scope()->start_position();
}
« no previous file with comments | « src/ast/ast.h ('k') | src/ast/scopes.h » ('j') | src/objects.cc » ('J')

Powered by Google App Engine