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

Unified Diff: src/compiler.cc

Issue 2218083002: Remove bool result from analyze since it's always true (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: undo zone change 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 d9b55667bdc2abb78359886da080462b94f86c72..8306f45a69142145bf78ca5ccbed2da90c69fef5 100644
--- a/src/compiler.cc
+++ b/src/compiler.cc
@@ -1193,7 +1193,7 @@ Handle<SharedFunctionInfo> CompileToplevel(CompilationInfo* info) {
bool Compiler::Analyze(ParseInfo* info) {
DCHECK_NOT_NULL(info->literal());
if (!Rewriter::Rewrite(info)) return false;
- if (!Scope::Analyze(info)) return false;
+ Scope::Analyze(info);
if (!Renumber(info)) return false;
DCHECK_NOT_NULL(info->scope());
return true;

Powered by Google App Engine
This is Rietveld 408576698