mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 09:49:14 +00:00
Bug 1135708 - Followup: Fix a few warnings-as-errors related build problems on a CLOSED TREE. (rs=Waldo)
This commit is contained in:
parent
89e5d96fae
commit
499c01e9ed
@ -7789,13 +7789,13 @@ BytecodeEmitter::emitTree(ParseNode* pn)
|
||||
if (!emitTree(subexpr))
|
||||
return false;
|
||||
}
|
||||
for (int i = 0; i < pn->pn_count - 1; i++) {
|
||||
for (uint32_t i = 0; i < pn->pn_count - 1; i++) {
|
||||
if (!emit1(JSOP_POW))
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
case PNK_TYPEOFNAME:
|
||||
ok = emitTypeof(pn, JSOP_TYPEOF);
|
||||
break;
|
||||
|
@ -959,6 +959,7 @@ Fold(ExclusiveContext* cx, ParseNode** pnp, Parser<FullParseHandler>& parser, bo
|
||||
case PNK_MULASSIGN:
|
||||
case PNK_DIVASSIGN:
|
||||
case PNK_MODASSIGN:
|
||||
case PNK_POWASSIGN:
|
||||
case PNK_ELEM:
|
||||
case PNK_SUPERELEM:
|
||||
case PNK_COLON:
|
||||
@ -1009,6 +1010,7 @@ Fold(ExclusiveContext* cx, ParseNode** pnp, Parser<FullParseHandler>& parser, bo
|
||||
case PNK_STAR:
|
||||
case PNK_DIV:
|
||||
case PNK_MOD:
|
||||
case PNK_POW:
|
||||
case PNK_COMMA:
|
||||
case PNK_NEW:
|
||||
case PNK_CALL:
|
||||
|
Loading…
x
Reference in New Issue
Block a user