Branch: Tag:

2014-08-11

2014-08-11 14:26:25 by Per Hedbor <ph@opera.com>

Limit lvalue-creation for a = function(a,...) to the case
when there is at least one more argument.

1352:    (CAAR(n)->u.sval.u.efun->function != f_filter)) {    /* efuns typically don't access object variables. */    node *args = CDAR(n); -  if (args) { +  if (args && count_args(args) > 1) +  {    node **arg = my_get_arg(&args, 0);    if (arg && node_is_eq(CDR(n), *arg) &&    !(args->tree_info & OPT_ASSIGNMENT)) {