diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-03-27 13:21:13 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-03-27 13:21:13 +0200 |
commit | 72721d1d032db2099593076bf96f274623af3c26 (patch) | |
tree | 33db746920d307db8270ab90ba12fc0c30850b96 /js/src/frontend/ParseNode.h | |
parent | 2b7f231ca7f64c9750f65922d92e3b98a3351f79 (diff) | |
parent | 2a57d73c3b5304be3f9be51018a1bbee79f007e2 (diff) | |
download | UXP-72721d1d032db2099593076bf96f274623af3c26.tar UXP-72721d1d032db2099593076bf96f274623af3c26.tar.gz UXP-72721d1d032db2099593076bf96f274623af3c26.tar.lz UXP-72721d1d032db2099593076bf96f274623af3c26.tar.xz UXP-72721d1d032db2099593076bf96f274623af3c26.zip |
Merge remote-tracking branch 'janek/js_lhs-before-rhs_1'
Diffstat (limited to 'js/src/frontend/ParseNode.h')
-rw-r--r-- | js/src/frontend/ParseNode.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/js/src/frontend/ParseNode.h b/js/src/frontend/ParseNode.h index ff26279af..c58dab431 100644 --- a/js/src/frontend/ParseNode.h +++ b/js/src/frontend/ParseNode.h @@ -649,14 +649,12 @@ class ParseNode MOZ_ASSERT(pn_arity == PN_CODE && getKind() == PNK_FUNCTION); MOZ_ASSERT(isOp(JSOP_LAMBDA) || // lambda, genexpr isOp(JSOP_LAMBDA_ARROW) || // arrow function - isOp(JSOP_FUNWITHPROTO) || // already emitted lambda with needsProto isOp(JSOP_DEFFUN) || // non-body-level function statement isOp(JSOP_NOP) || // body-level function stmt in global code isOp(JSOP_GETLOCAL) || // body-level function stmt in function code isOp(JSOP_GETARG) || // body-level function redeclaring formal isOp(JSOP_INITLEXICAL)); // block-level function stmt - return !isOp(JSOP_LAMBDA) && !isOp(JSOP_LAMBDA_ARROW) && - !isOp(JSOP_FUNWITHPROTO) && !isOp(JSOP_DEFFUN); + return !isOp(JSOP_LAMBDA) && !isOp(JSOP_LAMBDA_ARROW) && !isOp(JSOP_DEFFUN); } /* |