From fa75ec55cc8f4eb6a7621b56d7e9623106b5693e Mon Sep 17 00:00:00 2001 From: "ulan@chromium.org" Date: Thu, 5 Jun 2014 08:41:29 +0000 Subject: [PATCH] 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 --- src/parser.cc | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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; } -- 2.7.4