mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1141862 - Followup: Assure GCC that superBegin cannot, in fact, be used uninitialized. (rs=jorendorff)
This commit is contained in:
parent
55844d9667
commit
815da01ea9
@ -7710,7 +7710,7 @@ Parser<ParseHandler>::memberExpr(TokenKind tt, bool allowCallSyntax, InvokedPred
|
|||||||
JS_CHECK_RECURSION(context, return null());
|
JS_CHECK_RECURSION(context, return null());
|
||||||
|
|
||||||
bool isSuper = false;
|
bool isSuper = false;
|
||||||
uint32_t superBegin;
|
uint32_t superBegin = pos().begin;
|
||||||
|
|
||||||
/* Check for new expression first. */
|
/* Check for new expression first. */
|
||||||
if (tt == TOK_NEW) {
|
if (tt == TOK_NEW) {
|
||||||
@ -7739,7 +7739,6 @@ Parser<ParseHandler>::memberExpr(TokenKind tt, bool allowCallSyntax, InvokedPred
|
|||||||
} else if (tt == TOK_SUPER) {
|
} else if (tt == TOK_SUPER) {
|
||||||
lhs = null();
|
lhs = null();
|
||||||
isSuper = true;
|
isSuper = true;
|
||||||
superBegin = pos().begin;
|
|
||||||
} else {
|
} else {
|
||||||
lhs = primaryExpr(tt, invoked);
|
lhs = primaryExpr(tt, invoked);
|
||||||
if (!lhs)
|
if (!lhs)
|
||||||
|
Loading…
Reference in New Issue
Block a user