1. 25 Jul, 2016 1 commit
  2. 08 Jun, 2016 1 commit
  3. 04 Feb, 2016 1 commit
    • neis's avatar
      [generators] Implement Generator.prototype.return. · dbd86408
      neis authored
      Note: This is currently only used by yield*, we still need to support it in
      other places (such as for-of loops).  It can be used manually of course.
      
      (This CL does not touch the full-codegen implementation of yield* because that
      code is already dead.  The yield* desugaring already supports return and doesn't
      need to be touched.)
      
      BUG=v8:3566
      LOG=y
      
      Review URL: https://codereview.chromium.org/1639343005
      
      Cr-Commit-Position: refs/heads/master@{#33744}
      dbd86408
  4. 26 May, 2015 1 commit
  5. 15 May, 2015 1 commit
  6. 12 Apr, 2015 1 commit
  7. 11 Apr, 2015 1 commit
  8. 09 Apr, 2015 1 commit
  9. 06 Apr, 2015 1 commit
    • mike's avatar
      Re-implement %Generator% intrinsic as an object · 3b624a17
      mike authored
      From ES6 25.2.3 ("Properties of the GeneratorFunction Prototype
      Object"):
      
      > The GeneratorFunction prototype object is an ordinary object. It is
      > not a function object and does not have an [[ECMAScriptCode]] internal
      > slot or any other of the internal slots listed in Table 27 or Table
      > 56.
      
      Introduce one assertion for the value's type and additional tests for its
      properties. Remove an invalid assertion that fails as a result of this
      fix.
      
      BUG=v8:3991
      LOG=N
      
      Review URL: https://codereview.chromium.org/1062633002
      
      Cr-Commit-Position: refs/heads/master@{#27603}
      3b624a17
  10. 16 Sep, 2014 1 commit
  11. 21 Aug, 2014 1 commit
  12. 12 Jun, 2014 1 commit
  13. 19 May, 2014 1 commit
  14. 12 Jun, 2013 1 commit
  15. 10 Jun, 2013 1 commit
  16. 15 May, 2013 2 commits
  17. 03 May, 2013 1 commit
  18. 24 Apr, 2013 1 commit
  19. 11 Apr, 2013 1 commit
    • rossberg@chromium.org's avatar
      * src/generator.js: Add methods and intialization for generator meta-objects. · 8e8bbc0e
      rossberg@chromium.org authored
      * src/contexts.h:
      * src/bootstrapper.cc (InitializeExperimentalGlobal): Make generator
        meta-objects, and store maps for constructing generator functions
        and their prototypes.
      
      * src/factory.h:
      * src/factory.cc (MapForNewFunction): New helper.
        (NewFunctionFromSharedFunctionInfo): Use the new helper.
      
      * src/heap.cc (AllocateFunctionPrototype, AllocateInitialMap): For
         generators, allocate appropriate prototypes and maps.
      
      * src/code-stubs.h:
      * src/arm/code-stubs-arm.h:
      * src/arm/full-codegen-arm.h:
      * src/ia32/code-stubs-ia32.h:
      * src/ia32/full-codegen-ia32.h:
      * src/x64/code-stubs-x64.h:
      * src/x64/full-codegen-x64.h: Allow fast closure creation for generators,
      using the appropriate map.
      
      * test/mjsunit/harmony/builtins.js: Add a special case for
        GeneratorFunctionPrototype.prototype.__proto__.
      
      BUG=
      TEST=mjsunit/harmony/generators-runtime
      
      Review URL: https://codereview.chromium.org/13192004
      
      Patch from Andy Wingo <wingo@igalia.com>.
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@14236 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      8e8bbc0e