Sync Iterator Helpers proposal implementation to latest spec draft
Categories
(Core :: JavaScript Engine, task, P2)
Tracking
()
People
(Reporter: anba, Assigned: anba)
References
Details
Attachments
(7 files)
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
Bug 1840644 - Part 3: Add allowContentIterWithNext for self-hosting code. r=#spidermonkey-reviewers!
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
Details | Review |
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
Add accessors for the callee and the arguments, which makes the code a bit
easier to read when compared to using the BinaryNode left and right
accessors.
| Assignee | ||
Comment 2•2 years ago
|
||
[...allowContentIterWith(array, usingIterator)] was evaluated exactly the same
as [...allowContentIter(array)], i.e. the explicit iterator method usingIterator
was ignored.
- Adds
BytecodeEmitter::emitIterable()to push the iterator operands on the stack. - Removes some default parameters to make it more explicit when content iteration is
disallowed.
Depends on D182232
| Assignee | ||
Comment 3•2 years ago
|
||
Add allowContentIterWithNext in preparation for the next part. This operation
can be used when both the iterator and its next method have already been
computed.
Depends on D182233
| Assignee | ||
Comment 4•2 years ago
|
||
More or less a complete re-implementation to match the current proposal text.
The code has been rewritten to use normal for-of loops instead of performing
manual iteration. This should make it easier to follow the implementation and
needs fewer lines of code.
Depends on D182234
| Assignee | ||
Comment 5•2 years ago
|
||
Depends on D182235
| Assignee | ||
Comment 6•2 years ago
|
||
Depends on D182236
| Assignee | ||
Comment 7•2 years ago
|
||
Depends on D182237
Comment 9•2 years ago
•
|
||
Backed out 7 changesets (bug 1840644) for causing SM failure at BytecodeEmitter.cpp
Backout: https://hg.mozilla.org/integration/autoland/rev/2ae5f027d056d128412df40b51cb8dbfa3609de2
Failure log: https://treeherder.mozilla.org/logviewer?job_id=421693355&repo=autoland&lineNumber=2957
| Assignee | ||
Updated•2 years ago
|
Comment 10•2 years ago
|
||
Comment 11•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/0fbebc734f3a
https://hg.mozilla.org/mozilla-central/rev/a346d4afdc4e
https://hg.mozilla.org/mozilla-central/rev/af9e47636935
https://hg.mozilla.org/mozilla-central/rev/6a662868b8b3
https://hg.mozilla.org/mozilla-central/rev/6029d99b6795
https://hg.mozilla.org/mozilla-central/rev/ad2a1c8d112a
https://hg.mozilla.org/mozilla-central/rev/5b919b11b30b
Updated•2 years ago
|
Description
•