mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-02 15:15:23 +00:00
Fix argo redness (what does ISO C say about #if'd macro actual args?).
This commit is contained in:
parent
860ed79101
commit
bf0db47898
@ -4234,11 +4234,13 @@ js_EmitTree(JSContext *cx, JSCodeGenerator *cg, JSParseNode *pn)
|
||||
* object depending on the loop variant (for-in, for-each-in, or
|
||||
* destructuring for-in).
|
||||
*/
|
||||
JS_ASSERT(pn->pn_op == JSOP_FORIN ||
|
||||
#if JS_HAS_DESTRUCTURING
|
||||
JS_ASSERT(pn->pn_op == JSOP_FORIN ||
|
||||
pn->pn_op == JSOP_FOREACHKEYVAL ||
|
||||
#endif
|
||||
pn->pn_op == JSOP_FOREACH);
|
||||
#else
|
||||
JS_ASSERT(pn->pn_op == JSOP_FORIN || pn->pn_op == JSOP_FOREACH);
|
||||
#endif
|
||||
if (js_Emit1(cx, cg, pn->pn_op) < 0)
|
||||
return JS_FALSE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user