forked from BrowserWorks/Waterfox-Classic
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1629795 - Part 3: Ignore exceptions in IteratorClose for Throw co…
…mpletions. r=arai Implements the changes from: tc39/ecma262#1408 The spec PR requires to start the non-syntactic `try` block before retrieving the "return" property and checking whether or not the "return" property is callable. As part of this change we can also reorder the other byte code instructions, which enables us to make the code more similar to normal JS code. The equivalent JS code is documented in the added comments. Furthermore these changes allow us to remove the manual stack depth fixups. Depends on D70819 Differential Revision: https://phabricator.services.mozilla.com/D70820
- Loading branch information
Showing
1 changed file
with
69 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters