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

Unified Diff: src/parsing/preparser.cc

Issue 1941683003: PPC/s390: modify if/else block to fix debug build (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: addressed comment, using ok instead of CHECK_OK Created 4 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/parsing/preparser.cc
diff --git a/src/parsing/preparser.cc b/src/parsing/preparser.cc
index 8712fff3b9896e8bb44bbc5d054c03ba37066121..db8fefd57904179b276fb2105bbea7a8e641dad8 100644
--- a/src/parsing/preparser.cc
+++ b/src/parsing/preparser.cc
@@ -285,7 +285,7 @@ PreParser::Statement PreParser::ParseScopedStatement(bool legacy, bool* ok) {
} else {
Scope* body_scope = NewScope(scope_, BLOCK_SCOPE);
BlockState block_state(&scope_, body_scope);
- return ParseFunctionDeclaration(CHECK_OK);
+ return ParseFunctionDeclaration(ok);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698