mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
Bug 1343481 - Part 3: Add JSOP_AWAIT and rename {yieldIndex,yieldOffset} to {yieldAndAwaitIndex,yieldAndAwaitOffset}.
Tag #1287
This commit is contained in:
parent
45337018ef
commit
a6872d9ea3
16 changed files with 142 additions and 110 deletions
|
|
@ -655,7 +655,8 @@ IsValidBytecodeOffset(JSContext* cx, JSScript* script, size_t offset);
|
|||
inline bool
|
||||
FlowsIntoNext(JSOp op)
|
||||
{
|
||||
/* JSOP_YIELD is considered to flow into the next instruction, like JSOP_CALL. */
|
||||
// JSOP_YIELD/JSOP_AWAIT is considered to flow into the next instruction,
|
||||
// like JSOP_CALL.
|
||||
switch (op) {
|
||||
case JSOP_RETRVAL:
|
||||
case JSOP_RETURN:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue