• mbrandy's avatar
    PPC: [generators] Implement Generator.prototype.return. · bedb3344
    mbrandy authored
    Port dbd86408
    
    Original commit message:
        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.)
    
    R=neis@chromium.org, joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
    BUG=v8:3566
    LOG=y
    
    Review URL: https://codereview.chromium.org/1664413002
    
    Cr-Commit-Position: refs/heads/master@{#33754}
    bedb3344
full-codegen-ppc.cc 163 KB