DescriptionRevert of for-of should throw if result object is not an object (patchset #4 id:60001 of https://codereview.chromium.org/929733003/)
Reason for revert:
Broke compile
Original issue's description:
> for-of should throw if result object is not an object
>
> This is done using desugaring. Before this we had:
>
> result = iterator.next()
>
> with this we instead do:
>
> !%_IsSpecObject(result = iterator.next()) &&
> %ThrowIteratorResultNotAnObject(result)
>
> BUG=v8:3916
> LOG=N
>
> Committed: https://crrev.com/ab2591ed9332086581ee25ef735cd1b3bbd7e2f0
> Cr-Commit-Position: refs/heads/master@{#26806}
TBR=adamk@chromium.org,wingo@igalia.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=v8:3916
Patch Set 1 #
Created: 5 years, 10 months ago
(Patch set is too large to download)
Messages
Total messages: 6 (2 generated)
|