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

Unified Diff: src/compiler.cc

Issue 2281073002: Create ScopeInfos while analyzing the Scope chain (Closed)
Patch Set: updates Created 4 years, 4 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
Index: src/compiler.cc
diff --git a/src/compiler.cc b/src/compiler.cc
index 9e7592ee765f4daf56db7140009b1728644d01ec..96557b1c6e2dbc759e529ba6a32e2d815c7741c0 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -565,7 +565,7 @@ bool CompileUnoptimizedCode(CompilationInfo* info) {
void InstallSharedScopeInfo(CompilationInfo* info,
Handle<SharedFunctionInfo> shared) {
- Handle<ScopeInfo> scope_info = info->scope()->GetScopeInfo(info->isolate());
+ Handle<ScopeInfo> scope_info = info->scope()->scope_info();
shared->set_scope_info(*scope_info);
}
« src/ast/scopes.cc ('K') | « src/ast/scopes.cc ('k') | src/compiler/ast-graph-builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698