Closed Bug 1343481 Opened 3 years ago Closed 3 years ago

Preparation for Async Iteration and optimizing Async Functions

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla54
Tracking Status
firefox54 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(7 files)

separated from bug 1331092.

some patches in bug 1331092 have merit also for Async Functions (bug 1316098 etc),
and it should be better landing those parts separately from others that needs more tests written before landing.

I'll move those patches from bug 1331092 and land for this bug.
https://hg.mozilla.org/integration/mozilla-inbound/rev/3f9cb5adce0e76c382b910b52e602d552b3dc1b9
Bug 1343481 - Part 1: Remove {JSFunction,JSScript,LazyScript}.isGenerator() method. r=shu

https://hg.mozilla.org/integration/mozilla-inbound/rev/5ce3e1a949a61ab7a5caf942e8ca318621babc68
Bug 1343481 - Part 2: Stop using StarGegerator for async function. r=shu

https://hg.mozilla.org/integration/mozilla-inbound/rev/53a92e2f749e1263e72e0d38089758948d5d720a
Bug 1343481 - Part 3: Add JSOP_AWAIT and rename {yieldIndex,yieldOffset} to {yieldAndAwaitIndex,yieldAndAwaitOffset}. r=shu

https://hg.mozilla.org/integration/mozilla-inbound/rev/616903dd928563c67134208132320f43e38249e0
Bug 1343481 - Part 4: Add Add GeneratorObject.{isAfterYield,isAfterAwait}. r=shu

https://hg.mozilla.org/integration/mozilla-inbound/rev/be60a3cf158e177f70a3f48d7904c0267676fe47
Bug 1343481 - Part 5: Rename AsyncFunction-related names in Promise.cpp to explicitly say Async Function. r=shu

https://hg.mozilla.org/integration/mozilla-inbound/rev/b623bf54b41f1ba8a406851e19e74340417540b9
Bug 1343481 - Part 6: Add native functions wrapper for GetInternalError and GetTypeError. r=shu

https://hg.mozilla.org/integration/mozilla-inbound/rev/bf3219269a11aff5b64a61b6c782aa97bb4594c1
Bug 1343481 - Part 7: Add BytecodeEmitter::emitDotGenerator and make yield/await nodes unary. r=shu
You need to log in before you can comment on or make changes to this bug.