1. 08 Jun, 2016 1 commit
  2. 04 Feb, 2016 1 commit
    • neis's avatar
      [generators] Desugar yield*. · 5269944a
      neis authored
      This CL deals with yield* by desugaring it in the parser.  Hence the
      full-codegen implementation of it becomes obsolete and can be removed in a
      future CL.
      
      The only change in semantics should be that the results of the iterator's next
      and throw methods are checked to be objects, which didn't happen before but is
      required by the spec.
      
      BUG=
      
      Review URL: https://codereview.chromium.org/1643903003
      
      Cr-Commit-Position: refs/heads/master@{#33735}
      5269944a
  3. 18 Jan, 2016 1 commit
  4. 12 Nov, 2014 1 commit
  5. 16 Sep, 2014 1 commit
  6. 21 Aug, 2014 1 commit
  7. 07 Aug, 2014 1 commit
  8. 05 Aug, 2014 1 commit
  9. 02 Jul, 2014 1 commit
  10. 14 Jan, 2014 2 commits
  11. 20 Jun, 2013 1 commit
  12. 13 Jun, 2013 1 commit
  13. 12 Jun, 2013 1 commit
  14. 10 Jun, 2013 1 commit
  15. 15 May, 2013 2 commits
  16. 14 May, 2013 3 commits
  17. 08 May, 2013 1 commit
  18. 07 May, 2013 1 commit
  19. 26 Apr, 2013 2 commits
    • mstarzinger@chromium.org's avatar
      Add support for yield expressions · 1706fe65
      mstarzinger@chromium.org authored
      This CL extends the generator suspend and resume implementation to
      capture values on the operand stack.
      
      It factors out some helpers to measure and access the operand stack into
      the JavaScriptFrame class.  It also refactors the suspend and resume
      helpers to avoid handle allocation.
      
      BUG=v8:2355
      TEST=mjsunit/harmony/generators-iteration
      
      Review URL: https://codereview.chromium.org/14348003
      
      Patch from Andy Wingo <wingo@igalia.com>.
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14458 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      1706fe65
    • mstarzinger@chromium.org's avatar
      Fix yield inside with · 885fd2f4
      mstarzinger@chromium.org authored
      This patch makes it so that suspending generators always saves the
      context.  Previously we erroneously assumed that if the operand stack
      was empty, that the context would be unchanged, but that is not the case
      with "with".
      
      Fixing this brought out an interesting bug in the variable allocator.
      Yield inside with will reference a context-allocated temporary holding
      the generator object.  Before the fix, this object was looked up in the
      with context instead of the function context, because with contexts were
      not being simulated during full-codegen.  Previously this was OK as all
      variables would be given LOOKUP allocation instead of CONTEXT, but the
      context-allocated temporary invalidated this assumption.  The fix is to
      simulate the context chain more accurately in full-codegen.
      
      R=mstarzinger@chromium.org
      BUG=v8:2355
      TEST=mjsunit/harmony/generators-iteration
      
      Review URL: https://codereview.chromium.org/14416011
      
      Patch from Andy Wingo <wingo@igalia.com>.
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14454 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      885fd2f4
  20. 25 Apr, 2013 1 commit
  21. 24 Apr, 2013 1 commit