Bug 1141862 - Followup: Assure GCC that superBegin cannot, in fact, be used uninitialized. (rs=jorendorff)

This commit is contained in:
Eric Faust 2015-04-09 17:43:08 -07:00
Родитель acd763f9f6
Коммит c9352a3622
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -7710,7 +7710,7 @@ Parser<ParseHandler>::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<ParseHandler>::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)