diff --git a/js/src/frontend/Parser.cpp b/js/src/frontend/Parser.cpp index d829a3b2a9b..7626d3c99e0 100644 --- a/js/src/frontend/Parser.cpp +++ b/js/src/frontend/Parser.cpp @@ -7710,7 +7710,7 @@ Parser::memberExpr(TokenKind tt, bool allowCallSyntax, InvokedPred JS_CHECK_RECURSION(context, return null()); bool isSuper = false; - uint32_t superBegin; + uint32_t superBegin = pos().begin; /* Check for new expression first. */ if (tt == TOK_NEW) { @@ -7739,7 +7739,6 @@ Parser::memberExpr(TokenKind tt, bool allowCallSyntax, InvokedPred } else if (tt == TOK_SUPER) { lhs = null(); isSuper = true; - superBegin = pos().begin; } else { lhs = primaryExpr(tt, invoked); if (!lhs)