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

Unified Diff: src/scopes.cc

Issue 1256413005: Bugfix: Incorrect type feedback vector structure on recompile. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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 | test/cctest/cctest.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scopes.cc
diff --git a/src/scopes.cc b/src/scopes.cc
index 1473b2471f59ebbd87acf6cebdbd5f3c114cfc42..52e50eaee61d11348f9ef6e355b3fd4d7499900c 100644
--- a/src/scopes.cc
+++ b/src/scopes.cc
@@ -692,6 +692,7 @@ bool Scope::HasTrivialContext() const {
if (scope->is_eval_scope()) return false;
if (scope->scope_inside_with_) return false;
if (scope->ContextLocalCount() > 0) return false;
+ if (scope->ContextGlobalCount() > 0) return false;
}
return true;
}
« no previous file with comments | « no previous file | test/cctest/cctest.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698