From: ulan@chromium.org Date: Thu, 5 Jun 2014 08:41:29 +0000 (+0000) Subject: Fix presubmit style error in parser.cc X-Git-Tag: upstream/4.7.83~8805 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fa75ec55cc8f4eb6a7621b56d7e9623106b5693e;p=platform%2Fupstream%2Fv8.git Fix presubmit style error in parser.cc BUG= R=mvstanton@chromium.org Review URL: https://codereview.chromium.org/315003007 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21686 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/parser.cc b/src/parser.cc index f40d798..5106556 100644 --- a/src/parser.cc +++ b/src/parser.cc @@ -2287,11 +2287,13 @@ Block* Parser::ParseVariableDeclarations( static bool ContainsLabel(ZoneStringList* labels, Handle label) { ASSERT(!label.is_null()); - if (labels != NULL) - for (int i = labels->length(); i-- > 0; ) - if (labels->at(i).is_identical_to(label)) + if (labels != NULL) { + for (int i = labels->length(); i-- > 0; ) { + if (labels->at(i).is_identical_to(label)) { return true; - + } + } + } return false; }