Reviewers: mvstanton,

Message:
PTAL

Description:
Fix presubmit style error in parser.cc

BUG=

Please review this at https://codereview.chromium.org/315003007/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files (+6, -4 lines):
  M src/parser.cc


Index: src/parser.cc
diff --git a/src/parser.cc b/src/parser.cc
index f40d79808bda73ed067ed77e9f921d93fe247cf6..51065568bac7855a841c4fc724ba1d60d5e633a1 100644
--- a/src/parser.cc
+++ b/src/parser.cc
@@ -2287,11 +2287,13 @@ Block* Parser::ParseVariableDeclarations(

 static bool ContainsLabel(ZoneStringList* labels, Handle<String> 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;
 }



--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to