mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-11-03 21:17:31 +09:00
Bug 1316098 - Optimize out result object allocation for await/return in async function.
Tag #1287
This commit is contained in:
parent
c1bdfa62fc
commit
c9f1fa2cda
10 changed files with 39 additions and 138 deletions
|
|
@ -110,8 +110,8 @@ resumption value has one of the following forms:
|
|||
the `new` expression returns the frame's `this` value. Similarly, if
|
||||
the function is the constructor for a subclass, then a non-object
|
||||
value may result in a TypeError.
|
||||
If the frame is a generator or async function, then <i>value</i> must
|
||||
conform to the iterator protocol: it must be a non-proxy object of the form
|
||||
If the frame is a generator function, then <i>value</i> must conform to the
|
||||
iterator protocol: it must be a non-proxy object of the form
|
||||
<code>{ done: <i>boolean</i>, value: <i>v</i> }</code>, where
|
||||
both `done` and `value` are ordinary properties.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue