Branch: Tag:

2019-09-12

2019-09-12 10:03:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Compiler [generators]: Added yield().

2596:    ins_label(tmp1);    emit0(F_POP_MARK);    ins_label(tmp2); +  +  if (CDR(n) ->u.sval.u.integer == 2) { +  emit0(F_UNDEFINED); +  emit1(F_SWAP_STACK_LOCAL, +  Pike_compiler->compiler_frame->generator_local + 2); +  modify_stack_depth(1); +  return 1;    } -  +  }    return 0;    }