Bug 1099956 - Style nitpick. r=ridiculously-trivial
authorJeff Walden <jwalden@mit.edu>
Wed, 19 Nov 2014 10:04:12 -0800
changeset 240833 919f1447246549a8837674dff1c72fc4d02fe11c
parent 240832 613266d6f6ecbf2a2ebd07f88ec4c841fb93324a
child 240834 f1da786780bad8f5a8b6e05696ea6fa0b3a0e968
push id4311
push userraliiev@mozilla.com
push dateMon, 12 Jan 2015 19:37:41 +0000
treeherdermozilla-beta@150c9fed433b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersridiculously-trivial
bugs1099956
milestone36.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1099956 - Style nitpick. r=ridiculously-trivial
js/src/frontend/Parser.cpp
--- a/js/src/frontend/Parser.cpp
+++ b/js/src/frontend/Parser.cpp
@@ -5807,18 +5807,19 @@ Parser<ParseHandler>::statement(bool can
                 return null();
             if (!report(ParseWarning, false, null(), JSMSG_USE_ASM_DIRECTIVE_FAIL))
                 return null();
         }
         return expressionStatement();
 
       case TOK_YIELD: {
         TokenKind next;
-        TokenStream::Modifier modifier = yieldExpressionsSupported() ? TokenStream::Operand
-                                                                     : TokenStream::None;
+        TokenStream::Modifier modifier = yieldExpressionsSupported()
+                                         ? TokenStream::Operand
+                                         : TokenStream::None;
         if (!tokenStream.peekToken(&next, modifier))
             return null();
         if (next == TOK_COLON) {
             if (!checkYieldNameValidity())
                 return null();
             return labeledStatement();
         }
         return expressionStatement();