Commit d6229137 authored by bjaideep's avatar bjaideep Committed by Commit bot

PPC/s390: modify if/else block to fix debug build

changed the if/else block to fix the debug build
failure on PPC/s390.

R=adamk@chromium.org, mbrandy@us.ibm.com

BUG=
LOG=N

Review-Url: https://codereview.chromium.org/1941683003
Cr-Commit-Position: refs/heads/master@{#35954}
parent 141bc11e
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment