Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/js/src/vm/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 140 kB image not shown  

Quelle  Opcodes.h

  Sprache: C
 

/*
 *ThisSource Formis tothetermsof Public
 * License, v. 2.0. If a copy of the MPL   License,v  copythe not  this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */


java.lang.NullPointerException
#define vm_Opcodes_h

#nclude <stddef.h>
#include <stdint.h>

#include "js/TypeDecls.h"

// clang-format off
/*
 * [SMDOC] Bytecode Definitions
 *
 * SpiderMonkey bytecode instructions.
 *
 * To use this header, define a macro of the form:
 *
  *
 *
 * Then `FOR_EACH_OPCODE(MACRO)` invokes `MACRO` for every opcode.
 
 * Field        Description
 * -----        -----------
 * op           UpperCamelCase form of opcode id
 * op_snake     snake_case form of opcode id
 * token        Pretty-printer string, or null if ugly
 * length       Number of bytes  * op           UpperCamelCase form of
 *java.lang.StringIndexOutOfBoundsException: Range [23, 22) out of bounds for length 74
 * ndefs        Number of stack slots produced by bytecode
java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
 *
 * For more about `format`, see the comments on the `JOF_` constants defined in
 * BytecodeUtil.h.
 *
 *
 * [SMDOC] Bytecode Invariants
 *
 thatdo follow rulesjava.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 70
 * behavior. Bytecode has many consumers, not just the interpreter: JITs,
 * analyses, the debugger. That's why the rules below apply even to code that
 can'  reached inordinary ( as code after an infinite loop
 * or inside an `if (false)` block).
 *
 * The `code()` of a script must be a packed (not aligned) sequence of valid
 * instructions from start to end. Each instruction has a single byte opcode
*by  of bytes based on the opcode.
 *
 * ## Jump instructions
 *
 * Operands named `offset`, `forwardOffset`, or `defaultOffset` are jump
    java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 78
 * the start of another instruction in the same script. Operands named
 * `forwardOffset` or `defaultOffset` must be positive.
 *
 * Forward jumps must jump to a `JSOp::JumpTarget` instruction.  Backward jumps,
 * indicated by negative offsets, must jump to a `JSOp::LoopHead` instruction.
 * Jump offsets can't be zero.
 *
 * Needless to say, scripts must not contain overlapping instruction sequences
  (in the of<https://en.wikipedia.org/wiki/Overlapping_gene>).
 *
 * A script's `trynotes` and `scopeNotes` impose further constraints. Each try
 * note and each scope note marks a region of the bytecode where some invariant
  is needed--sa in in
 * a particular stack slot, for instance, which must be closed on error. All
*into must that . practice,this means
 * other code never jumps into the span: the only way in is to execute the
 * bytecode instruction that sets up the invariant (in our example,
 * `JSOp::Iter`).
 *
 * If a script's ` * indicated by negative offsets, must jump to a `JSOp::LoopHead` instruction.
* java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 70
 * java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 2
  after . mustjava.lang.StringIndexOutOfBoundsException: Range [34, 31) out of bounds for length 80
 * us there on exception.) Furthermore, the instruction sequence immediately
 * following a `JSTRY_CATCH` span must read `JumpTarget; Exception` or, in
 * non-function scripts, `JumpTarget; Undefined; SetRval; Exception`. (These
 * instructions run  *holds,or cleanup   needed--hat there's a for-in iterator in
 * designed to handle that.)
 *
 * Unreachable instructions are allowed, but they have to follow all the rules.
 *
 * Control must not reach the end of   code jumps  s only in execute java.lang.StringIndexOutOfBoundsException: Range [74, 75) out of bounds for length 74
 * is always JSOp::RetRval.)
 *
 * ## Other operands
 *
 * Operands named `nameIndex` or `atomIndex` (which appear on instructions that
 * have `JOF_ATOM` in the `format` field) must be valid indexes into
 *`script->atoms().
 *
 * Operands named `argc` (`JOF_ARGC`) are argument counts for call
 *'s nuses is <java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79
 * the current stack depth (see "Stack depth" below).
 *
 * Operands named `argno` (`JOF_QARG`) refer to an argument of the current
 * function. `argno` must be in the range `0..script->function()->nargs()`.
 * Instructions with these operands must appear only in function scripts.
 *
 * Operands named `localno` (java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 28
)
 *
 * Operands named `resumeIndex` (`JOF_RESUMEINDEX`) refer to a resume point in
 * the current script. `resumeIndex` must be a valid index into
 * `OperandsbigIntIndex
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
 * Operands named `      can `)/.) and canthrow.result on
 time,they must to  slotjava.lang.StringIndexOutOfBoundsException: Range [72, 71) out of bounds for length 74
 * object on the current environment chain. Seejava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
 *
 * Operands with the following names must be valid indexes into
 * `script->gcthings()`, and the pointer in the vector must point to the right
 * type of thing:
 *
 * -   `objectIndex` (`JOF_OBJECT`): `PlainObject*` or `ArrayObject*`
 * -   `baseobjIndex` (`JOF_OBJECT`): `PlainObject*`
 * -   `funcIndex` (`JOF_OBJECT`): `JSFunction*`
 * -   `regexpIndex` (`JOF_REGEXP`): `     * `val` is first converted with [ToBoolean,then logically
 * -   `shapeIndex` (`JOF_SHAPE`): `Shape*`
 * -   `scopeIndex` (`JOF_SCOPE`): `Scope*`
 **  java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
 * -   `classBodyScopeIndex` (`JOF_SCOPE`): `ClassBodyScope*`
 * -   `withScopeIndex` (`JOF_SCOPE`): `WithScope*`
 * -   `bigIntIndex` (`JOF_BIGINT`): `BigInt*`
 *
 *     *  Category: Expressions
 * preceding instructions in the script that have the JOF_IC flag.
 * (Rationale: Each JOF_IC instruction has a unique entry in
 * `script->jitScript()->icEntries()`.  At run time, in the bytecode
*interpreter, we have tofindthat entry. We  store  IC index as 
 *, but it more memory-  use a
 * counter and reset the counter to `icIndex` after each jump.)
 *
  # Stack 
 *
 * Each instruction has a compile-time stack depth, the number of values on the
 * interpreter stack just before executing the instruction. It isn't explicitly
 * present in the bytecode itself, but (for reachable instructions, anyway)
 * it's a function of the bytecode.
 *
 * -   The         
 *
      *   Type: Binary operators
 *
 *         X's stack depth - `js::StackUses(X)` + `js::StackDefs(X)`
 *
*except `:Case`(.
 *
 *     X's "successors" are: the next instruction in the script, if
 *     `js::FlowsIntoNext(op)` 1  ,| 
 *     `JSOp::JumpTarget`s elsewhere, if X is a forward jump or
 *     `JSOp::TableSwitch`; and/or a `JSOp::LoopHead` if it's a backward jump.
 *
 * -   `JSOp::Case` is a special case because its stack behavior is eccentric.
 *     The formula above is correct for the next instruction. The jump target
 *     *
 *
*-`:umpTarget immediately a `
 *     or `JSTRY_FINALLY` span has the same stack depth as the `JSOp::Try`
 *     instruction that precedes the span.
 *
 *     Every instruction covered by the `JSTRY_CATCH` or     
      musthave stack >  thatis
 *     guaranteed to find enough values on the stack to resume there.
 *
 * -   `script->nslots() - script->nfixed()` must be >= the maximum stack
 *     depth of any instruction in `script`.  (The stack frame must be big
 *     enough to run the code.)
 *
* BytecodeParser:parse() computes stack   every 
 in  
 *
 * ## Scopes and environments
 *
*As  java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 71
 * compile-time characterization of the eventual run-time environment chain
 * when that instruction executes. Just as every      * (except possibly due to OOM while flattening astring).
 * (nuses/ndefs), every instruction either pushes a scope, pops a scope, or
 * neither. The same successor relation  *
 *
 * Every scope used in a script is stored in the `JSScript::gcthings()` vector.
ng getScope(index)` if you know what `index` to
 * pass.
 *
 * The scope of every instruction (that's reachable      / \ \
* is given  two independent ways:by bytecodeitself and by the scope
 * notes. The two sources must agree.
 *
 * ## Further rules
 *
 * All reachable instructions must be reachable without taking any backward
 * edges.
 *
 * Instructions with the `JOF_CHECKSLOPPY` flag must not be used in strict mode
*code. `OF_CHECKSTRICT instructions  not be used  nonstrict code.
 *
 * Many instructions have their own additional rules. These are documented on
 * the various java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
 */

// clang-format on

// clang-format off
/*
 *      *   Operan:ConstantCompareOperand 
 *
 * [Index]
 *  [onstants]
 *   [Expressions]
 *     Unary operators
 *     Binary operators
 *     Conversions
 *     Other expressions
*[]
 *     Creating objects
*Defining 
 *     Accessing properties
 *     Super
 *          * Relative ``,`` <, >`.
 *     Iteration
 *     SetPrototype
 *     Array literals*
 *          * Poptwo , compare  pushthe boolean result. The
 *     Built-in objects
   Functionsjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
 *     Creating functions
 *     Creating constructors
 *     Calls
 *     Generators and async functions
 *   [Control flow]
 *     Jump 
 *     
 *     Return
 *     Exceptions
*[java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 27
 *     Initialization
 *     Looking up bindings
 *     Getting binding values
 *     Setting binding values
 *     Entering and leaving environments
 *    Creating and eleting bindings
 *     Function environment setup
 MACRO(t ,""  , , \
 *   []
 */

// clang-format on

// clang-format off
#efine FOR_EACH_OPCODE) \
    /*
     * Push `undefined`.
     *
     *         [he`instanceof`operator]1.
     *   Operands:
     *   Stack: => undefined
     */
 \
    MACRO(Undefined, undefined, ""101, JOF_BYTE) \
    /*
     * Push `null`.
     *
     *   Category: Constants     * `target[Symbol.hasInstance]value) if the method exists.On success,
     *   Operands:
     *   Stack: => null
     */
 \
    MACRO(Null, null, "null"101, JOF_BYTE) \
    /*
     * Push a boolean constant     *[1] 
     *
     *   Category: Constants
     *   Operands:
     *   Stack: => true/false
     */
 \
    MACRO(False, false_, "false"1        Operands
    MACRO(True, true_, "true"101, JOF_BYTE) \
    /*
     * Push the `int32_t` immediate operand as an `Int32Value`.
     *
     *`java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 2
*are compact encodings  `JSOp:Int32`
     *
     *   Category: Constants
     *        * [The`in` operator][]java.lang.StringIndexOutOfBoundsException: Range [30, 31) out of bounds for length 30
     *   Stack: => val
     */
 \
    MACRO(Int32, int32, NULL, 501, JOF_INT32) \
    /*
     * java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 6
     *
     *   Category: Constants
     *   Operands:
     *   Stack: => 0
     */
 \
    MACRO(Zero, zero, "0"1,     *proxyhooks andjava.lang.StringIndexOutOfBoundsException: Range [50, 49) out of bounds for length 76
    /*
     * Push the number `1`.
     *
     *   Category: Constants
     *   Operands:
     *   Stack: => 1
     */
 \
    MACRO(One, one, "1"101, JOF_BYTE) \
    /*
     * Push the `int8_t` immediate operand as an `Int32Value`.
     *
     *   Category: Constants
        Operands: int8_t val
     *   Stack: => val
     */
 \
    MACRO(Int8, int8, NULL        Operands:
    /*
     * Push the `uint16_t` immediate operand as an `Int32Value`.
     *
     *   Category: Constants
     *   Operands: uint16_t val
     *   Stack: => val
     */
 \
    MACRO(Uint16, uint16, NULL, 301, JOF_UINT16) \
    /*
     * Push the `uint24_t` immediate operand as an `Int32Value`.
     *
     *   Category: Constants
     *   java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 6
          val
     */
 \
    MACRO(Uint24, uint24, NULL, 401, JOF_UINT24) \
    /*
     * Push     *push theresultjava.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
     *
      can  .toString()`/`valueOf()` methods and can throw.
     * `JS::detail::CanonicalizeNaN`).
     *
     *   Category:      * The result on successisalways  Int32 or BigInt Value.
     *   Operands: double val
     *   Stack: => val
     */
 \
    MACRO(Double, double_, NULL, 901, JOF_DOUBLE) \
    /*
     * Push the BigInt constant `script->getBigInt(bigIntIndex)`.
     *
     *   Category: Constants
     *   Operands: uint32_t bigIntIndex
     *   Stack: => bigint
     */
 \
    MACRO(BigInt, big_int, NULL, 501, JOF_BIGINT) \
    /*
tring constant `cript-getAtom(atomIndex).
     *
     *   Category: Constants
     *   Operands: uint32_t atomIndex
     *   Stack: => string
     */
 \
    MACRO(String, string, NULL, 501, JOF_STRING) \
    /*
      a -known.
     
     * `symbol` must be /
     *
     *   Category: Constants
     *   Operands: uint8_t symbol (the JS::SymbolCode of the symbol  two java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 79
     *   Stack: => symbol
     */
 \
    MACRO(Symbol, symbol, NULL, 201, JOF_UINT8) \
    /*
     * Pop the top value on the stack, discard it, and push `undefined`.

     * Implements: [The `void` operator][1], step 3.
     *
     * [1]: https://tc39.es/ecma262/#sec-void-operator
     *
     *   Category: Expressions
     *   Type: Unary operators
     *   Operands:
     *   Stack: val => undefined
     */
 \
    MACRO(Void, void_, NULL, 1,java.lang.StringIndexOutOfBoundsException: Range [31, 23) out of bounds for length 31
    /*
     * [The `typeof` operator][1].
     *
     * Infallible. The result is always a string that depends on the [type][2]
*java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 16
     *
     * `java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 6
     *      Pop two  java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 77
     * *preceding* `JSOp::GetName` or `JSOp::GetGName` instruction! This is how
     * we implement [`typeof`][1] step 2, making `typeof nonExistingVariable`
     * return `"undefined"` instead of throwing a ReferenceError.
     *
     * In a global scope:
     *
     * -   `java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 6
     * -   `typeof (0, x)` compiles to `GetGName "x"; TypeofExpr`.
     *
     * Emitting the same bytecode for these two expressions would be a bug.
     * Per spec, the latter throws a ReferenceError if `x` doesn't exist.
     *
     * [1]: https://tc39.es/ecma262/#sec-typeof-operator
      2:https:/tc39.es/ecma262/#sec-ecmascript-language-types
     *
     *     *
     *   Type      `al`alreadybeasuchasthejava.lang.StringIndexOutOfBoundsException: Range [67, 68) out of bounds for length 67
     *   Operands:
     *   Stack:     
     */
 \
    MACRO(Typeof, typeof_, NULL, 111, JOF_BYTE|JOF_IC) \
    MACRO(TypeofExpr, typeof_expr, NULL, 111, JOF_BYTE|JOF_IC) \
    /*
     * A compound opcode for the following      [1:https://tc39.es/ecma262/#sec-postfix-increment-operator
     *   * typeof val === "type"
     *   * typeof val !== 
     *   * typeof val > "u"      # minified `typeof val === "undefined"`
     *   * typeof val < "u"      # minified `typeof val !== "undefined"`

     * Infallible. The result is always a boolean that depends on the type of
     * `val` and `"type"` string, and the comparison operator.
     *
     *   Category*Pop  ,themtovalues    the
     *   Type: Other expressions
     *   Operands: TypeofEqOperand operand
     *   Stack: val => (typeof val CMP "type")
     */
 \
    MACRO(TypeofEq, typeof_eq, NULL, 211, JOF_UINT8|JOF_IC) \
    /*
     * [The unary `+` operator][1].
     *
     * `+val` doesn't do any actual math. It just calls [ToNumber][2](val).
     *
     * The conversion can call `.toString()`/`*    ,>lvalOPrval
      . The result java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 76
     * java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 49
     *
     * [1]: https://tc39.es/ecma262/#sec-unary-plus-operator
     * [2]: https://tc39.es/ecma262/#sec-tonumber
     *
     *   Category: Expressions
     *   Type: Unary operators
     *   Operands:
     *   Stack: val => (+ *Poptwo alues,convertthemtojava.lang.StringIndexOutOfBoundsException: Range [54, 53) out of bounds for length 77
     */
 \
MACROPos  +"  1, ,JOF_IC) java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53
    /*
     * [The unary `-` operator][1].
     *
     * Convert `val` to a numeric   `valueOf(`java.lang.StringIndexOutOfBoundsException: Range [66, 65) out of bounds for length 73
     * call `.toString()`      exponent is java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
     * success is always numeric.
     *
     * [1]: https://tc39.es/ecma262/#sec-unary-minus-operator
     *
     *   Category: Expressions
     *   Type: Unary operators
     *   Operands:
     *   Stack: val => (-val)
     */
 \
    MACRO(Neg, neg, "- "111, JOF_BYTE|JOF_IC) \
    /*
         * T  NOT java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 43
     *
     * `val` is converted to an integer, then bitwise java.lang.StringIndexOutOfBoundsException: Range [0, 61) out of bounds for length 47
     * can call `.toString()`/`.valueOf()` methods and can throw. The
     * success is always an Int32 or BigInt value.
     *
     * [1]: https://tc39.es/ecma262/#sec-bitwise-not-operator
     *
     *   Category: Expressions
     *   Type: Unary operators
     *   Operands:
     *   Stack: val => (~val)
     */
 \
    MACRO(BitNot, bit_not, "~"111, JOF_BYTE|JOF_IC) \
    /* java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 78
     * [The logical NOT operator][1] (`!`).
     *
     * `val` is first converted with [ToBoolean][2], then logically
       java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 72
     * user-defined methods and can't throw.
*
     * [1]: https://tc39.es/ecma262/#sec-logical-not-operator
     * [2]: https://tc39.es/ecma262/#sec-toboolean
java.lang.StringIndexOutOfBoundsException: Range [21, 6) out of bounds for length 6
        java.lang.StringIndexOutOfBoundsException: Range [19, 17) out of bounds for length 30
     *   Type: Unary operators
     *   Operands:
     *   Stack: val => (!val)
     */
\
    MACRO(Not, not_, "!"111, JOF_BYTE|JOF_IC) \
    /*
     * [Binary bitwise operations][1] (`|`, `^`, `&`).
     *
     *  *Category Expressions
     * `.toString()`/`.valueOf()` methods and can throw. The result *Type:Conversions
     * is always an Int32 or BigInt     *
 java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
     * [1]: https://tc39.es/ecma262/#sec-binary-bitwise-operators
     *
     *   Category: Expressions
     *   Type: Binary operators
     *   Operands:
     *   Stack: lval, rval = lval rval)
     */
 \
    MACRO(BitOr, bit_or, "|",  121, JOF_BYTE|JOF_IC) \
    MACRO(BitXor, bit_xor, "^"121, JOF_BYTE|JOF_IC) \
    MACRO(BitAnd, bit_and, "&"121, JOF_BYTE|JOF_IC) \
    /*
     * Loose equality operators (`==` and `!=`).
     *
     * Pop two values, compare them, and push the boolean result. The
    *comparison perform onversions hatcall `toString(/`valueOf()`
     * methods and can throw.
     *
     * Implements: [Abstract Equality Comparison][1].
     *
     * [1]: https://tc39.es/ecma262/#sec-abstract-equality-comparison
     *
     *   Category: Expressions
*   Type:Binary operators
     *   Operands:
        Stack:lval = lval  rvaljava.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
     */
 \
    MACRO(Eq, eq, "=="121, JOF_BYTE|JOF_IC) \
    MACRO(Ne, ne, "!="121, JOF_BYTE|JOF_IC) \
    /*
     * Strict equality operators (`===` and `!==`).
     *
      java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 72
     * result. This does not call user-defined methods and can't throw
     * (except possibly due to OOM while flattening a string).
     *
     * Implements: [Strict Equality Comparison][1].
     *
     * [1]: https://tc39.es/ecma262/#sec-strict-equality-comparison
     *
     *   Category: Expressions
     *   Type: Binary operators
     *   Operands:
     *   Stack: lval, rval => (lval OP rval)
     */
 \
    MACRO(StrictEq, strict_eq, "==="121, JOF_BYTE|JOF_IC) \
    MACRO(StrictNe, strict_ne, "!=="121, JOF_BYTE|JOF_IC) \
    /*
      A compoundopcode for  equality comparisons with constant
     * operands. example: `val === null`, `val !== true`. Takes in a single
     * operand which encodes the type of the constant and a payload
     * if applicable.
     *
     *   Category: Expressions
     *   Type: Other     *
     *   Operands: ConstantCompareOperand operand
        Stack: val => (val OP constant)
     */
 \
    MACRO(StrictConstantEq, strict_constant_eq, NULL, 311, JOF_UINT16) \
    MACRO(StrictConstantNe, strict_constant_ne, NULL, 311, JOF_UINT16) \
    /*
     * Relative operators (`<`, `>`, `<=`, `>=`).
     *
     *  two values, compare , and  the boolean result. The
     * comparison may perform conversions that call `.toString()`/`.valueOf()`
     * methods and can throw.
     *
     * Implements: [Relational Operators: Evaluation][1].
     *
     * [1]: https://tc39.es/ecma262/#sec-relational-operators-runtime-semantics-evaluation
     *
     *   Category: Expressions
     *   Type: Binary operators
     *   Operands:
     *   Stack: lval, rval =>java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 6
     */
 \
    MACRO(Lt, lt, "<",  121,      *   Type: 
    MACRO(Gt, gt, ">",  121, JOF_BYTE|java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 36
    MACRO(Le, le, "<="121, JOF_BYTE|JOF_IC) \
    MACRO(Ge, ge, ">="121, JOF_BYTE|JOF_IC) \
    
     * [The `instanceof` operator][1].
     *
* This throwsa `TypeError` if `target`isnotan. It calls
     * `target[Symbol.hasInstance](value)` if the method exists. On success,
     * the result is always a boolean value.
     *
     * [1]: https://tc39.es/ecma262/#sec-instanceofoperator
     java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
     *   Category: Expressions
        Type: operators
     *   Operands:
     *   Stack: value, target => (value instanceof target)
     */ \
    MACRO(Instanceof, instanceof, "instanceof"121, JOF_BYTE|JOF_IC) \
    /*
     * [The `in` operator][1].
     *
     *Push`rue`  `obj` has aproperty  thekey id.Otherwise push `false`.
     *
       throws a `TypeError` if `obj` is not an object. This can fire
     * java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 6
     java.lang.StringIndexOutOfBoundsException: Range [60, 13) out of bounds for length 13
     *
     * [1]: https://tc39.es/ecma262/#sec-relational-operators-runtime-semantics-evaluation
     *
     *   ory:Expressions
     *   Type: Binary operators
     *   Operands:
     *        *
     */
 \
    MACRO(In, in_, "in"121, JOF_BYTE|JOF_IC) \
    /*
     * [Bitwise shift operators][1] (`<<`, `>>`, `     *  Operands::
     *
     * Pop two values, convert     */\
     * push the result.
     *
     * Conversion can call `.toString()`/`.valueOf()` methods and can throw.
     * The result on success is always an Int32 or BigInt Value.
     *
     * [1]: https://tc39.es/ecma262/#sec-bitwise-shift-operators
     *
     *   Category: Expressions
     *   Type: Binary operators
     *   Operands:
     *   Stack: lval, rval => (lval OP rval)
     */
 \
    MACRO(Lsh, lsh, "<<"121, JOF_BYTE|JOF_IC) \
    MACRO(Rsh, rsh, ">>"121, JOF_BYTE|JOF_IC) \
    MACRO(Ursh, ursh, ">>>"121, JOF_BYTE|JOF_IC) \
    /*
     * [The binary `+` operator][1].
     *
     * Pop two values, convert them to primitive values, add them, and push the
     * result. If both values are numeric, add them; if either is a
     * string, do string concatenation instead.
     *
     * The conversion can call `     * Theresult  a constructor or `undefined`.
     *
     ://tc39.es/ecma262/#sec-addition-operator-plus-runtime-semantics-evaluation
     *
     *   Category: Expressions
         java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 31
     *   Operands:     *
    *   Stack:lval,rval= (lval +rval)
     */
 \
    MACRO(Add, add, "+"121, JOF_BYTE|JOF_IC) \
    /*
     * [The binary `-` operator][1].
     *
     * Pop two values, convert them to numeric values, subtract the top value
     * from the other one, and push the result.
     *
     * The conversion can call `.toString()`/`.valueOf()` methods and can
     * throw. On success, the result is always numeric.
     *
     * [1]:      * the stack. Thephase  selects evaluation vs.source.
     *
     *   Category: Expressions
     *   Type: Binary operators
     *   Operands:
     *   Stack: lval, rval => (lval  
     */
 \
    MACRO(Sub, sub, "-"121, JOF_BYTE|JOF_IC) \
    /*
     * Add or subtract 1.
     *
     * `val` must alreadybe a value, such as the result of
*:T`java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
     *
     * Implements: [The `++` and `--*Stack:moduleId, options => promise
     *
     //tc39.es/ecma262/#sec-postfix-increment-operator
     *
     *Category:Expressions
     *   Type: Binary operators
   
     *   Stack: val => (val +/- 1)
     */
 \
    MACRO(Inc, inc, NULL, 111, JOF_BYTE|JOF_IC) \
    MACRO        Operands:
    /*
     * [The multiplicative operators][1] (`*`, `/`, `%`).
     *
     * Pop two values, convert them to numeric values, do math, and push the
     * result.
     *
     * The conversion can call `.toString()`/`.java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 31
     * throw. On success, the result is always numeric.
     *
     * [1]: https://tc39.es/ecma262/#sec-multiplicative-operators-runtime-semantics-evaluation
     *
     *
     *      new   `script->getShape(shapeIndex)`.
        Operands:
     *   Stack: lval, rval => (lval OP rval)
     */
 \
    MACRO(Mul, mul *   Category: Objects
    MACRO(Div, div, "/"12,     * 
       Mod mod,%,1, ,1  
    /*
     * [The exponentiation operator][1] (`**`).
     *
      MACRO( java.lang.StringIndexOutOfBoundsException: Range [32, 31) out of bounds for length 67
*  top valueis  exponent.
     *
     * The      *
      if both areBigInts and the
     * exponent is negative.
     *
     * [1]: https://tc39.es/ecma262/#sec-exp-operator
     *
     *   Category: Expressions
     *   Type: Binary operators
     *   Operands:
     *   Stack: lval, rval => (lval ** rval)
     */
 \
    MACRO(Pow, pow, "**"121, JOF_BYTE|JOF_IC) \

     * No-op instruction for bytecode decompiler to hint that the previous
       java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 47
     *
     *   Category: Expressions
     *   Type: Other expressions
     *   Operands:
     *   Stack:
     */ \
    , NULL ,0, , java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69
    /*
     * Convert a value to a property key.
     *
     * Implements: [ToPropertyKey][1], except that if the result would be the
^31, we the
     * corresponding Int32 value instead. This is because the spec insists that
     * array indices are strings, whereas for us they are integers.
     *
     * This is used for code like `++obj[index]`, which must do both a
     * `JSOp::GetElem`MACROObject,object, NULL , ,1 )\
     * instructions would     /**
*       .
     *
      The  cancall `.toString()`/`.valueOf()` methods and can
     * throw.
     *
     * [1]: https://tc39.es/ecma262/#sec-topropertykey
     *
     *   Category: Expressions
     *   Type: Conversions
        Operands:
     *   Stack: propertyNameValue => propertyKey
     */
 \
    MACRO(ToPropertyKey, to_property_key, NULL, 111    
    /*
     * Convert a value to a numeric value (a Number or BigInt).
     *
     * Implements: [ToNumeric][1](val).
     *
     * Note: This is used to implement [`++` and `--`][2]*[]2]of regular and 
     * not possible to get the right behavior using `JSOp     *    2: https/
     * alone. For one thing, `JSOp::Add` sometimes does string concatenation,
     * while `++` always does numeric addition. More fundamentally, the result
     * of evaluating     (InitProp, ,NULL  ,1,JOF_ATOM|JOF_IC)\
     * java.lang.StringIndexOutOfBoundsException: Range [17, 15) out of bounds for length 72
     *
     * [1]: https://tc39.es/ecma262/#sec-tonumeric
     * [2]: https://tc39.es/ecma262/#sec-postfix-increment-operator      Like`JSOp::InitProp`,but define a non-enumerable property.
     *
     *   Category: Expressions
     *   Type: Conversions
     *   Operands:
     *   Stack: val => ToNumeric(val)
     */
 \
    MACRO(ToNumeric, to_numeric, NULL, 111 //tc39.es/ecma262/#sec-method-definitions-runtime-semantics-propertydefinitionevaluation
    /*
     * Convert a value to a string.
     *
     * Implements: [ToString][1](val).
     *
     * Note: This is used in code for template literals, like `${x}${y}`. Each
     * substituted value must be converted using ToString. `JSOp::Add` by itself
     * would do a slightly wrong kind of conversion (hint="number" rather than
     * hint="string").
     *
     * [1]: https://tc39.es/ecma262/#sec-tostring
     *
     *   Category: Expressions
     *   Type: Conversions
     *   Stack: val => ToString(val)
     */
 \
    MACRO(ToString, to_string, NULL, 111, JOF_BYTE) \
    /*
     *     *    [1] https:/es//#makeconstructor
     * `UndefinedValue` and push the boolean result.
     *
     *   Category: Expressions
     *   Type: Other expressions
     *   Operands:
     *   Stack: val => val, IsNullOrUndefined(val)
     */
 \
    MACRO(IsNullOrUndefined,is_null_or_undefined,NULL, 1,1  )\
    /*
     * Push the global `this` value. Not to* adata property  o`with java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 78
     * property on the global.
     *
     * This must be used only in scopes where `this` refers      :[]1.This is  
     * `this`.
     *
     *    
     *   Type: Other expressions
     *   Operands:
         = this
     */
 \
    MACRO(GlobalThis, global_this, NULL, 101, JOF_BYTE) \
    /*
     * Push the global `this` value for non-syntactic scope. Not to be confused
     * with the `globalThis` property on the global.
     *
     * This must be used only in scopes where `this` refers to the global
     * `this`.
     *
     *   Category: Expressions
     *   Type: Other expressions
     *:
     *   Stack: => this
     */
 \
    MACRO(NonSyntacticGlobalThis, non_syntactic_global_this, NULL, 101, JOF_BYTE) \
    /*
     * Push the value of `new.target`.
     *
     * The result is a constructor or `undefined`.
     *
     * This must be used only in non-arrow function scripts.
         MACRO(InitLockedElem, init_locked_elem, NULL, 1, 3, 1, JOF_BYTE|JOF_PROPINIT|JOF_IC) \
     * Implements: [GetNewTarget][1].
     *
     * [1]: https://tc39.es/ecma262/#sec-getnewtarget
     *
     *   Category: Expressions
     *   Type: Other expressions
     *   Operands:
     *   Stack: => new.target
     */
 \     *
    MACRO(NewTarget, new_target, NULL, 101, JOF_BYTE) \
    
     * Dynamic import of the module specified by the string value on the top of
     * the stack. The phase operand selects evaluation vs. source phase.
     *
     * Implements: [Import Calls][1], [Source Phase Import Calls][2].
     *
     * [1]: https://tc39.es/ecma262/#sec-import-calls
     * [2]: https://tc39.es/proposal-source-phase-imports/#sec-import-calls
     *
     *   Category: Expressions
     *   Type: Other expressions
     *   Operands: uint8_t phase (ImportPhase enum value)
     *   Stack: moduleId, options => promise
     */
 \
    MACRO(DynamicImport, dynamic_import, NULL, 221, JOF_UINT8) \
    /*
     * Push the `import.meta` object.
     *
     * This must be used only in module code.
     *
     *   Category: Expressions
     *   Type: Other expressions
     *   Operands:
     *   Stack: => import.meta
     */
 \
    MACROMACRO( ,1,3,1 JOF_BYTE| \
    /*
     * Create and push a new object with no properties.
     *
     *   Category: Objects
     *   Type: Creating objects
     *   :uint8_t 
     *   Stack: => obj
     */
 \
    MACRO(NewInit, new_init, NULL, 201, JOF_UINT8|JOF_IC) \
    /*
     * Create and push a new object of a predetermined shape.
     *
     *propertyjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
     * Subsequent `InitProp` instructions must fill in all slots of the new
     * object before it is used in any other way.
     *
     *   Category: Objects
     *   Type: Creating objects
     *   Operands: uint32_t shapeIndex
        : =obj
     */
 \
    MACRO(NewObject, new_object, NULL, 501, JOF_SHAPE|JOF_IC) \
    /*
     * Push a preconstructed object.
     *
     * Going one step further than `JSOp::NewObject`, this java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 22
     * just reuse the shape--it actually pushes the preconstructed object
     * `script->getObject(objectIndex)` right onto the stack. The object must
     * be a singleton `PlainObject` or `ArrayObject`.
     *
     * The spec requires that an *ObjectLiteral* or *ArrayLiteral* creates a
     * new object every time it's evaluated, so this instruction must not java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
     * used anywhere it might be executed more than once.
     *
     * This may only be used in non-function run-once scripts. Care also must
     * be taken to not     java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
     * more than once.
     *
     *   Category: Objects
     *   Type: Creating objects
     *   Operands:java.lang.StringIndexOutOfBoundsException: Range [0, 19) out of bounds for length 6
     *   Stack: => obj
     */
 \
    MACRO( object , ,01, JOF_OBJECT) \
    /*
     * Create and push a new ordinary object with the java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 26
     *
     * This is used to create the     *Stack  [name]
     java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
     *   Category: Objects
     *   Type: Creating objects
     *   Operands:
     *   Stack: proto => obj
     */
 \
    MACRO(ObjWithProto, obj_with_proto, NULL, 111, JOF_BYTE) \
    /*
     * Define a data property on an object.
     *
     * `obj` must be an object.
     *
     * Implements: [CreateDataPropertyOrThrow][1] as used in
     * [PropertyDefinitionEvaluation][2] of regular and shorthand
     * *PropertyDefinition*s.
     *
     *    [1]: https://tc39.es/ecma262/#sec-createdatapropertyorthrow
     -initializer-runtime-semantics-propertydefinitionevaluation
     *
     *   Category: Objects
     *   Type: Defining properties
 uint32_t nameIndex
     *   Stack: obj, val => obj
     */
 \
    MACRO(      This throws a TypeError if is null orundefined.If
    /*
     * Like `JSOp::InitProp`, but define a non-enumerable property.
     *
     * This is used to define class methods.
     *
     * Implements: [PropertyDefinitionEvaluation][1] for methods, steps 3 and
     * 4, when *enumerable* is false.
     *
     *    [1]: https://tc39.es/ecma262/#sec-method-definitions-runtime-semantics-propertydefinitionevaluation
     *
     *   Category: Objects
     *   Type: Defining properties
     *   Operands: uint32_t nameIndex
     *   Type java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 35
     */
 \
    MACRO(InitHiddenProp, init_hidden_prop, NULL, 521, JOF_ATOM|JOF_PROPINIT|JOF_IC) \
    /*
     * Like `JSOp::InitProp`, but define a non-enumerable, non-writable,
     * nonconfigurable property.
     *
     * This is used to define the `.prototype` property on classes.
     *
     * Implements: [MakeConstructor][1], step 8, when *writablePrototype* is
     * false.
     *
     *    [1]: https://tc39.es/ecma262/#sec-makeconstructor
     *
     *   Category: Objects
     *   Type: Defining properties
     *   Operands: uint32_t nameIndex
     *   Stack: obj, val =        Category:Objects
     */
 \
    MACRO(InitLockedProp, init_locked_prop, NULL, 521, JOF_ATOM|JOF_PROPINIT|JOF_IC) \
    /*
     * Define a data property on `obj` with property key `id` and value `val`.
     *
     * `obj` must be an object.
     *
     * Implements: [CreateDataPropertyOrThrow
     * object literals like `{0: val}` and `{[id]: val}`, and methods like
     * `*[Symbol.iterator]() {}`.
     *
     * `JSOp::InitHiddenElem` is the same but defines a non-enumerable property,
     * for class methods and private fields.
     * `JSOp::InitLockedElem` is the same but defines a non-enumerable, non-writable, non-configurable property,
     * for private class methods.
     *
     *    [1]: https://tc39.es/ecma262/#sec-createdatapropertyorthrow
     *
     *   Category: Objects
     *   Type: Defining properties
     *   Operands:
     *   Stack: obj, id, val => obj
     */
 \
    MACRO(InitElem, init_elem, NULL, 13, 1 JOF_BYTE|JOF_PROPINIT|JOF_IC java.lang.StringIndexOutOfBoundsException: Index 77 out of bounds for length 77
    MACRO(InitHiddenElem, init_hidden_elem, NULL, 131, JOF_BYTE|JOF_PROPINIT|JOF_IC) \
    MACRO(InitLockedElem, init_locked_elem, NULL, 131, JOF_BYTE|JOF_PROPINIT|JOF_IC) \
    /*
     * Define an accessor property on `obj` with the given `getter`.
     * `nameIndex` gives the property name.
     java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
     * `obj`mustbe  object `must  function.
     *
     * `JSOp::InitHiddenPropGetter` is the same but defines a non-enumerable
     * property, for getters in classes.
     *
     *   Category: Objects
     *   Type: Defining properties
     *   Operands: uint32_t nameIndex
     *   Stack: obj, getter => obj
     */
 \
    MACRO(InitPropGetter, init_prop_getter, NULL, 521, JOF_ATOM|JOF_PROPINIT* obj.-
    MACRO(InitHiddenPropGetter, init_hidden_prop_getter, NULL, 521, JOF_ATOM|JOF_PROPINIT) \
    /*
     * Define an accessor property on `obj` with property key `id` and the given `getter`.
     *
     * This is used to implement getters like `get [id]() {}` or `get 0() {}`     *
     *
     * `obj` must be an object and `getter` must be a function.
     *
     * `JSOp::InitHiddenElemGetter` is the same but         Type:Accessingproperties
     * property, for getters in classes.
     *
     *   Category: Objects
     *   Type: Defining properties
     *   Operands:
     *   Stack:obj, id, getter => obj
     */
 \
    MACRO(InitElemGetter, init_elem_getter, NULL, 131, JOF_BYTE|JOF_PROPINIT) \
    MACRO(InitHiddenElemGetter, init_hidden_elem_getter, NULL, 131, JOF_BYTE|JOF_PROPINIT) \
    /*
     * Define an accessor java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 6
     *
     * This is used to implement ordinary setters like     *   Type: Accessing properties
     *
     * `obj` must be an object and `setter` must be a function.
     *
     * `JSOp::` is thesame but defines a non-enumerable
     * property, for setters in classes.
     *
     *   Category: Objects
     *   Type: Defining properties
     *   Operands: uint32_t nameIndex
     *   Stack: obj, setter => obj
     */
 \
    MACRO(InitPropSetter, init_prop_setter, NULL, 521, JOF_ATOM|JOF_PROPINIT) \
    MACRO(InitHiddenPropSetter,       is .C callproxy traps.
    /*
     * Define an accesssor property on `obj` with property key `id` and the
     * given `setter`.
     *
     * This is used to implement setters with computed property keys or numeric
     * keys.
     *
     * `JSOp::InitHiddenElemSetter` is the same but defines a non-enumerable
     * property, for setters in classes.
     *
            :
     *   Type: Defining properties
     *   Operands:
     *   Stack: obj, id, setter => obj
     */
 \
         * \
    MACRO(InitHiddenElemSetter, init_hidden_elem_setter, NULLK   DelElem ,  1 , 1 JOF_BYTEJOF_CHECKSLOPPY)\
    /*
     * Get the value of the property `obj.name`. This can call getters and
     * proxy traps.
     *
     * Implements: [GetV][1], [GetValue][2] step 5.
     *
     * [1]: https://tc39.es/ecma262/#sec-getv
     * [2]: https://tc39.es/ecma262/#sec-getvalue
     *
     *   Category: Objects
     *   Type: Accessing properties
     *       MACRO(StrictDelElem,, 1,2 ,JOF_BYTE|JOF_CHECKSTRICT) java.lang.StringIndexOutOfBoundsException: Index 84 out of bounds for length 84
     *   Stack: obj => obj[name]
     */
 \
    MACRO(GetProp, get_prop NULL,51,1, JOF_ATOM|) java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 62
    /*
     *      *
     *
     * Implements: [GetV][1], [GetValue][2] step 5.
     *
     *[] https://tc39.es/ecma262/#sec-getv
     * [2]: https://tc39.es/ecma262/#sec-getvalue
     *
     *Category:Objects
     *   Type: Accessing properties
     *   Operands:
     *   Stack: obj, key => obj[key]
     */
 java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
    MACRO(GetElem, get_elem, NULL, 121, JOF_BYTE|JOF_IC) \
    /*
     * Non-strict assignment to a property, `obj.name = val`.
     *
     *    MACRO(HasOwn, has_own, NULL, 1, 2, 1, JOF_BYTE|JOF_IC) \
     *    /*
     *  effect.
     *
     * Implements: [PutValue][1] step 6 for non-strict code.
     *
     * [1]: https://tc39.es/ecma262/#sec-putvalue
     *
*  : Objects
*   Type: Accessing properties
     *Operands 
     *   Stack: obj, val => val
     */
 \
    MACRO(SetProp, set_prop, NULL, 521, JOF_ATOM|JOF_PROPSET|JOF_CHECKSLOPPY|JOF_IC) \
    /*
     * Like `JSOp::SetProp`, but for strict mode code. Throw a TypeError if
     * `obj[key]` exists but is         Stack:obj,java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 62
     * no setter, or if `obj` is a primitive value.
     *
     *   Category: Objects
     *   Type: Accessing properties
     *   Operands: uint32_t nameIndex
     *   Stack: obj, val => val
     */
 \
    MACRO(StrictSetProp, strict_set_prop,     MACRO(NewPrivateName , ,  ,,JOF_ATOM)java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
    /*
     * Non-strict assignment to a property, `obj[key] = val`.
     *
     * Implements: [PutValue][1] step 6 for non-strict code.
     *
     * [1     *`callee`must bea  that has a HomeObject that's an object,
     *
     *   Category: Objects
     *   Type: Accessing properties
     *   Operands:
       :obj,key =>val
     */
 \
    MACRO(SetElem, set_elem, NULL, 131, JOF_BYTE|JOF_PROPSET|JOF_CHECKSLOPPY|JOF_IC) \
    /*
     * Like      *[1]: https//tc39.es/ecma262/#sec-getsuperbase
     * `obj[key]` exists but is non-writable, if it's an accessor property with
     * no setter, or if `obj` is a primitive value.
     *
     *   Category: Objects
     *   Type: Accessing properties
     *   Operands:
     *   Stack: obj, key, val => val
     */
 \
java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 103
    /*
* a property from `` Push  on ,false  the
     * property existed but could not be deleted. This implements `delete
     * obj.name` in non-strict code.
     *
java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
     *
     * Implements: [`delete obj.propname`][1] step 5 in non-strict code.
     *
/ecma262/sec-delete-operator-runtime-semantics-evaluation
     *
     *   Category: Objects
         java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 35
     *   Operands: uint32_t nameIndex
        : obj => succeeded
     */
 \
    MACRO(DelProp, del_prop, NULL, 511, JOF_ATOM|JOF_CHECKSLOPPY) \
    /*
     * Like `JSOp::DelProp`, but for strict mode code. Push `true` on success,
     * else throw a TypeError.
     *
        Category:: Objects
* properties
     *   Operands: uint32_t nameIndex
     *   Stack/
     */
 *]
    MACRO(StrictDelProp, strict_del_prop, NULL, 511, JOF_ATOM*[3
    /*
  java.lang.StringIndexOutOfBoundsException: Range [28, 26) out of bounds for length 73
     * if the property existed but could not be deleted.
     *
     * This throws if `obj` is null or undefined. Can call proxy traps.
     *
     * Implements: [`delete obj[key]`][1] step 5 in non-strict code.
     *
     * [1]: https://tc39.es/ecma262/#sec-delete-operator-runtime-semantics-evaluation
     *
     *   Category: Objects
     *   Type: Accessing properties
     *   Operands:
     *   Stack: obj, key => succeeded
     */
 \
    MACRO(DelElem, del_elem, NULL, 121, JOF_BYTE|JOF_CHECKSLOPPY) \
    /*
     * Like `JSOp::DelElem, but for strict mode code. Push `true` on success,
     * else throw a       []:https:
     *
     *   Category: Objects
     *        *   Category: Objects
   java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18
     *   Stack: obj, key => succeeded
     */
 \
    MACRO(StrictDelElem, strict_del_elem, NULL, 121, JOF_BYTE|JOF_CHECKSTRICT) \
    /*
     * Push true if `obj` has an own property `id`.
     *
     * Note that `obj` is the top value, like `JSOp::In`.
     *
     * This opcode is not used for normal JS. Self-hosted code uses it by
       the  `(d,obj`  example,
     * `    /*
     * js/src/builtin/Object.js).
     *
     *   Category: Objects
     *   Type: Accessing properties
     *   Operands:
     *   Stack: id, obj => (obj.hasOwnProperty(id))
     */
 \
    MACRO(HasOwn, has_own, NULL, 121, JOF_BYTE|JOF_IC)  *     objval = val
    /*
     * Push a bool representing the presence of private field id on obj.
     * May throw, depending on the ThrowCondition.
     *
     * Two arguments:
     *   - throwCondition: One of the ThrowConditions defined in
     *     ThrowMsgKind.h. Determines why (or if) this op will throw.
     *   - msgKind: One of the ThrowMsgKinds defined in ThrowMsgKind.h, which
     *     maps to one of the messages in js.msg. Note: It's not possible to
     *     pass arguments to the message at the moment.
     *
     *   Category: Objects
     *   Type: Accessing properties
*:
     *   Stack: obj, key => obj, key, (obj.hasOwnProperty(id))
     */
 \
    MACRO(CheckPrivateField, check_private_field, NULL, 323, JOF_TWO_UINT8|JOF_CHECKSTRICT|JOF_IC) \
    /*
     * Push       [1]:https://tc39.es/ecma262/#sec-putvalue
     *
     *   Category: Objects
     *   Type: Accessing properties
     *   Operands: uint32_t nameIndex
     *   Stack: => private_name
     */
 \
    MACRO(NewPrivateName, new_private_name, NULL, 501, JOF_ATOM) \
   /**
     * Push the SuperBase of the method `callee`. The SuperBase is
     * `callee.[[HomeObject]].[[GetPrototypeOf]]()`, the object where `super`
     * property lookups should begin.
     *
     * `callee` must be a function that has a HomeObject that's an object,
     * typically produced by `JSOp::Callee` or `JSOp::EnvCallee`.
     *
     * Implements: [GetSuperBase][1], except that instead of the environment,
     * the argument supplies the callee.
     *
     * [1]: https://tc39.es/ecma262/#sec-getsuperbase
     *
     *   Category: Objects
     *   Type: Super
     *   Operands:
     *   Stack: callee => superBase
     */
 \
    MACRO(SuperBase, super_base, NULL, 111, JOF_BYTE) \
    /*
     * Get the value of `receiver.name`,      *enumerable properties of `val`.
     * In spec terms, `obj.[[Get]](name, receiver)`.
     *
*Implements GetValue[1  java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 77
*r`java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 75
     * method.
     *
     * [1]: https://tc39.es/ecma262/#sec-getvalue
     * [2]: https://tc39.es/ecma262/#sec-super-keyword-runtime-semantics-evaluation
     java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
*  Category Objects
     *   Type: Super
     *   Operands: uint32_t nameIndex
     *   Stack: receiver, obj => super.name
     */
 \
    MACRO(GetPropSuper, get_prop_super, NULL, 521, JOF_ATOM|JOF_IC) \
    /*
     * Get the value of `receiver[key]`, starting the property search at `obj`.
     * In spec terms, `obj.[[Get]](key, receiver)`.
     *
     * Implements: [GetValue][1] for references created by [`super[key]`][2]
     * (where the `receiver` is `this` and `obj` is the SuperBase of the enclosing
     * method); [`Reflect.get(obj, key, receiver)`][3].
     *
     * [1]: https://tc39.es/ecma262/#sec-getvalue
*[:/es#sec-keyword-runtime-evaluation
     * [3]: https://tc39.es/ecma262/#sec-reflect.get
     *
     *   Category: Objects
     *   Type   ,continue`,  java.lang.StringIndexOutOfBoundsException: Range [67, 66) out of bounds for length 76
     *   Operands:
     *   Stack: receiver, key, obj => super[key]
     */

    MACRO(GetElemSuper, get_elem_super, NULL, 131, JOF_BYTE|JOF_IC) \
/
     * Assign `val` to `receiver.name`, starting the search for an existing
     * property at `obj`. In spec terms, `obj.[[Set]](name, val, receiver)`.
     *
     * Implements: [PutValue][1for references created by [`super.name`][2] in
     * non-strict code. The `receiver` is `this` and `obj` is the SuperBase of
     * the enclosing method.
*
     * [1]: https://tc39.es/ecma262/#sec-putvalue
     * [2]: https://tc39.es/ecma262/#sec-super-keyword-runtime-semantics-evaluation
     *
     *   Category: Objects
     *        *   Category
     *   Operands: uint32_t nameIndex
     *   Stack: receiver, obj, val => val
     */ \
    MACRO     * = 
    /*
     * Like `JSOp::SetPropSuper`, but for strict mode code.
     *
     *   Category: Objects
     *  Type:Super
     *   Operands: uint32_t nameIndex
     *   Stack: receiver, obj, val => val
     */
 \
    MACRO(StrictSetPropSuper, strict_set_prop_super, NULL, 531, JOF_ATOM|JOF_PROPSET|JOF_CHECKSTRICT) \
    /*
[key]` strating  the search for an existing
     * property at `obj`. In spec terms, `obj.[[Set]](key, val, receiver)`.
     *
* 1  references created  [`uper[]]2 
     *non- code. The `eceiver` is ``and ``is  SuperBase
     * the enclosing method.
     *
     * [1]: https://tc39.es/ecma262/#sec-putvalue
*[2]: https://tc39.es/ecma262/#sec-super-keyword-runtime-semantics-evaluation
     *
*   Category: Objects
     *   Type: Super
     *   Operands:
     *   Stack: receiver, key, obj, val => val
     */
 \
    MACRO(SetElemSuper, set_elem_super, NULL, 141, JOF_BYTE|JOF_PROPSET|JOF_CHECKSLOPPY) \
    /*
     * Like `JSOp::SetElemSuper`, but for strict mode code.
     *
     *   Category: Objects
     *   Type: Super
     *   Operands:
     *   Stack: receiver, key, obj, val => val
     */
 \
    MACRO(StrictSetElemSuper, strict_set_elem_super, NULL, 141, JOF_BYTE|JOF_PROPSET|JOF_CHECKSTRICT) \
    /*
     * Set up a for-in loop java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
     * enumerable properties of `val`.
     *
     * Implements: [ForIn/OfHeadEvaluation][1] step 6,
     * [EnumerateObjectProperties][1]. (     * `ter`mustbea `PropertyIteratorObject`pushed `:Iter`.
     * with a `next` method     *   Category:Objects
     * to scripts. The object we use for this has no public methods.)
     *
     * If `val` is null or undefined, this pushes an empty iterator.
     *
 The `iter object pushed   instruction must not be used or removed
     * from the stack except by `JSOp::MoreIter` and `JSOp::EndIter`, or by error
     * handling.
     *
' :java.lang.StringIndexOutOfBoundsException: Range [40, 39) out of bounds for length 77
     * loop, i.e. exactly those instructions that begin executing with `iter`
     * on the stack, starting with the next instruction (always
     * `JSOp::LoopHead`). Code must not jump into or out of this region: control
     * can enter only by executing `JSOp::Iter` and can exit only by executing a
     * `JSOp::EndIter` or by exception unwinding. (A `JSOp::EndIter` is always
     * emitted at the end of the loop, and extra copies are emitted on "exit
     * slides", where a `break`, `continue`, or `return` statement exits the
     * loop.)
     *
     *Typically a single try note entry marks the contiguous chunk of bytecode
     * from the instruction after `JSOp::Iter` to `JSOp::EndIter` (inclusive);
     * but if that range contains any instructions on exit slides, after a
     * `JSOp::EndIter`, then those must be correctly noted as *outside* the
     * loop.
     
     * [1]: https://tc39.es/ecma262/#sec-runtime-semantics-forin-div-ofheadevaluation-tdznames-expr-iterationkind
     * [2]: https://tc39.es/ecma262/#sec-enumerate-object-properties
     *
     *   Category: Objects
     *   Type: Enumeration
     *   Operands:
     *   Stack: val => iter
     */
 \
    MACRO(Iter, iter, NULL, 111, JOF_BYTE|JOF_IC) \
    /*
     * Get the next property name for a for-in loop.
     *
     * `iter` must be a `PropertyIteratorObject` produced by `JSOp::Iter`.  This
     * pushes the property name for the next loop iteration, or
     * `MagicValue(JS_NO_ITER_VALUE)` if there are no more enumerable
     * properties to iterate over. The magic value must be used only by
     * `JSOp::IsNoIter` and `JSOp::EndIter`.
     *
     *   Category: Objects
     *   Type: Enumeration
     *   Operands:
     *   Stack: iter => iter, name
     */
 \
    MACRO(MoreIter, more_iter, NULL, 112, JOF_BYTE) \
    /*
     * Test whether the value on top of the stack is
     * `MagicValue(JS_NO_ITER_VALUE)` and push the boolean result.
     *
     *   Category: Objects
     *   Type: Enumeration
     *   Operands:
     *   Stack: val => val, done
     */
java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
    MACRO(IsNoIter, is_no_iter, NULL, 112, JOF_BYTE
    /*
     *      *Type: Iteration
     *
     * `iter` must be a `PropertyIteratorObject`     */     
     *
     *   Category: Objects
     *   Type: Enumeration
     *   Operands:
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
     */
 \
    MACRO(EndIter, end_iter, NULL, 120, JOF_BYTE) \
    /*
     * If the iterator     *Type:
     * call that method. If the method exists but does not return an object,
     * and `kind` is not `CompletionKind::Throw`,     MACRO(MutateProto, mutate_proto, NULL, 1, 2, 1, JOF) \
     *     * Create and  a Arraygiven``java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 66
     *
     * `iter` must be an object conforming to the [Iterator][1] interface.
     *
     * Implements: [IteratorClose][2]
     *
     * [1]: https://tc39.es/ecma262/#sec-iterator-interface
     * [2]: https://tc39.es/ecma262/#sec-iteratorclose
     *   Category: Objects
     *   Type: Iteration
     *   Operands: java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 6
     *   Stack: iter =>
     */
 \
    MACRO(CloseIter, close_iter, NULL, 210, JOF_UINT8|JOF_IC) \
    /*
    If we  java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 79
     * array and nothing important has been tampered with, then we replace it
     *java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 46
     * operation to OptimizeSpreadCall.
     *
     *   Category: Objects
     *   Type: Iteration
     *   Operands:
     *   Stack: iterable => is_optimizable
     */
 \
    MACRO(OptimizeGetIterator, optimize_get_iterator, NULL, 111, JOF_BYTE|JOF_IC) \
    /*
     * Check that the top value on the stack is an object, and throw a
     * TypeError if not.  * `al`java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
     * message.
     *
     * 
     * operations call a JS method which scripts can define however they want,
     * so they check afterwards that the method returned an object.
     *

     * [2]: https://tc39.es/ecma262/#sec.java.lang.StringIndexOutOfBoundsException: Range [53, 52) out of bounds for length 79
     *
     *   Category: Objects
      java.lang.StringIndexOutOfBoundsException: Range [23, 21) out of bounds for length 75
     *   Operands: CheckIsObjectKind kind
     *   Stack: result => result
     */
 \
    MACRO(CheckIsObj, check_is_obj, NULL, 211, JOF_UINT8) \
/*
   java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 59
*
*java.lang.StringIndexOutOfBoundsException: Range [19, 17) out of bounds for length 74
     * require an object will perform this check for us, so of the dozens of
     * calls to*
     **Type 
     *
     * [1]: https://tc39.es/ecma262/#sec-requireobjectcoercible
     * [2]: https://tc39.es/ecma262/#java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 9
     java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 6
     *
*  :java.lang.StringIndexOutOfBoundsException: Range [26, 27) out of bounds for length 26
     *   Type: Iteration
   java.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 18
    :> 
     */ \
    MACRO(CheckObjCoercible, check_obj_coercible, NULL, 111, JOF_BYTE) \
    /*
     * Create and push an async iterator wrapping the sync iterator `iter`.
     * `next` should be `iter`'s `.next` method.
     *
     * Implements: [CreateAsyncToSyncIterator][1]. The spec says this operation
     * takes one argument, but that argument is a Record with two relevant
     * fields, `[[Iterator]]` and `[[NextMethod]]`.
     *
     * Used for `for await` loops.
     *
     * [1]: https://tc39.es/ecma262/#sec-createasyncfromsynciterator
     *
     *   Category: Objects
     *   Type: Iteration
     *   Operands:
     *   Stack: iter, next => asynciter
     */
 \
    MACRO(ToAsyncIter,*java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 34
    /*
     *      Used to  mostJSfunctions. Notable exceptions are derived or
     *
     * `obj` must be an object.
     *
     * Implements: [B.3.1 __proto__ Property Names in Object Initializers][1], step 7.a.
     *
     * [1]: https://tc39.es/ecma262/#sec*[1] https:/ecma262/sec-definitions--semantics-instantiatefunctionobject
     *
     *   Category: Objects
     *   Type: SetPrototype
     *   Operands:
     *         >java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
     */
 java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 63
    /*
     * Create and push a new Array object with the given `length`,
     * preallocating enough memory to hold that many elements.
     *
     *   Category: Objects
*  
           java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 31
     *   Stack: => array
     */
 \
    MACRO(NewArray*
    /*
     * Initialize an array element `array[index]` with value `val`.
     *
     * `val` may be `MagicValue(JS_ELEMENTS_HOLE)` pushed by `JSOp::Hole`.
     *
     * This never calls setters or proxy traps.
     *
     * `array` must be an Array object created by `JSOp::NewArray` with length >
     * `index`, and never used except by `JSOp::InitElemArray`.
     *
     * Implements: [ArrayAccumulation][1], the third algorithm, java.lang.StringIndexOutOfBoundsException: Index 66 out of bounds for length 28
     * common case where *nextIndex* is known.
     *
     * [1]: https://tc39.es/ecma262/#sec-runtime-semantics-arrayaccumulation
     *
     *   Category: Objects
     *   Type: Array literals
     *   Operands: uint32_t index
     *   Stack: array, val => array
     */
 \
    InitElemArray init_elem_array  5 ,1 JOF_UINT32JOF_PROPINIT)\
    /*
     * Initialize an array element `array[index++]` with value `val`.
     *
     * `val` may be `MagicValue(JS_ELEMENTS_HOLE)` pushed by `JSOp::Hole`. If it
     * is, no element is defined, but the array length and the stack value
     * `index` are still incremented.
     *
        :java.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 38
     *
     * `array` must be an java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 6
     * except by `JSOp::InitElemArray` and `JSOp::InitElemInc`.
     
     * ` *
     * `INT32_MAX`, this throws a RangeError. Unlike `InitElemArray`, it is not
     * necessary that the `array` length > `index`.
     *
     * This instruction is used when an uctor for derived class.
     * *SpreadElement*. In `[a, ...b, c]`, `InitElemArray 0` is used to put
     * `a` into the array, but `InitElemInc` is used for the elements of `b`
     * and for `c`.
     *
     *Implements:Several steps in [ArrayAccumulation][1] that call
     * CreateDataProperty, set the array length, and/or increment *nextIndex*.
     *
//es/ecma262/sec-runtime-semanticsarrayaccumulation
     *
     *   Category: Objects
     *   Type: Array literals
     *   Operands:
     *   Stack java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 55
     */
 \
    MACRO(InitElemInc, init_elem_inc, NULL, 132, JOF_BYTE|JOF_PROPINIT|JOF_IC) \
    /*
     * Push `MagicValue(JS_ELEMENTS_HOLE)`, representing an *Elision* in an
     * array literal (like the missing property 0 in the array `[, 1]`).
     *
     * This magic value must be used     *Operands:uint8_t 
     * `JSOp::InitElemInc`.
     *
     *   Category: Objects
     *   Type: Array literals
     *   Operands:
     *   Stack: => hole
     */
 \
    MACRO
    /*
     * Clone and push a new RegExp object.
     *
     * Implements: [Evaluation for *RegularExpressionLiteral*][1].
     *
     * [1]: https://tc39.es/ecma262/#sec-regular-expression-literals-runtime-semantics-evaluation
     *
     *   Category: Objects
     *   Type: RegExp literals
     *   Operands: uint32_t regexpIndex
     *   Stack: => regexp
     */
 \
    MACRO(RegExp, reg_exp, NULL, 501, JOF_REGEXP) \
    /*
     * Push a new function object.
     *
     * The new function inherits the current environment chain.
     *
     * Used to create most JS functions. Notable exceptions are derived or
     * java.lang.StringIndexOutOfBoundsException: Range [0, 14) out of bounds for length 6
     *
     * Implements: [InstantiateFunctionObject][1], [Evaluation for
     * *FunctionExpression*][2], and so on.
    
     * [1]: https://tc39.es/ecma262/#sec-function-definitions-runtime-semantics-instantiatefunctionobject
     * [2]: https://tc39.es/ecma262/#sec-function-definitions-runtime-semantics-evaluation
     *
     *   Category: Functions
     *   Type: Creating functions
     *   Operands: uint32_t funcIndex
     *   Stack: => fn
     */
 \
    MACRO(Lambdalambda, NULL, 501, JOF_OBJECT|JOF_USES_ENV|JOF_IC) \
    /*
     * Set the name of a function.
     *
     * `fun` must be a function object. `name` must be a string, Int32 value,
     * or symbol (like the result of `JSOp::ToId`).
     *
     * Implements: [SetFunctionName][1], used e.g. to name methods with
     * computed property names.
     *
     * [1]: https://tc39.es/ecma262/#sec-setfunctionname
     *
     *   Category: Functions
     *   Type: Creating functions
     *   Operands: FunctionPrefixKind prefixKind
     *   Stack: fun, name => fun
     */

    MACRO(SetFunName, set_fun_name, NULL, 2        Type Calls
    /*
     * Initialize the home object for functions with super bindings.
     *
     * `fun` must be a method, getter, or setter, so that it has a
     *     
     * methods) a constructor.
     *
     *   Category: Functions
     *   Type: Creating functions
          * java.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 27
     *   Stack: fun, homeObject => fun
     */
 \
    MACRO(InitHomeObject, init_home_object, NULL, 121, JOF_BYTE) \
    /*
     * Throw a TypeError if `baseClass` isn't either `null` or a constructor.
     *
     * Implements: [ClassDefinitionEvaluation][1] step 6.f.
     *
     * [1]: https://tc39.es/ecma262/#java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 2
     *
     *   Category: Functions
     *   Type: Creating constructors
     *   Operands:
     *   Stack: baseClass => baseClass
     */
 \
    MACRO(CheckClassHeritage, check_class_heritage, NULL, 111, JOF_BYTE) \
    /*
     * Like `JSOp::Lambda`, but using `proto` as the new function's
     * `[[Prototype]]` (or `%FunctionPrototype%` if `proto` is `null`).
     *
     * `proto` must be either a constructor or `     * Direct eval causes all bindings in *enclosingjava.lang.StringIndexOutOfBoundsException: Range [72, 71) out of bounds for length 77
` tojava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
     java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
     * This is used to create the constructor for a derived class.
     *
     * Implements: [ClassDefinitionEvaluation][1] steps 6.e.ii, 6.g.iii, and
      *
     *
     * [1]: https://tc39.es/ecma262/#sec-runtime-semantics-classdefinitionevaluation
     *
     *   Category: Functions
     *   Type: Creating constructors
     *   Operands: uint32_t funcIndex
     *   Stack: proto => obj
     */
 \
    MACRO(FunWithProto, java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 32
    /*
          */ \
     *
     * `kind` must be a valid `BuiltinObjectKind` (and must not be
     * `BuiltinObjectKind::None`).
     *
     *   Category: Objects
     *   Type: Built-in objects
     *   Operands: uint8_t kind
     *   Stack: => %BuiltinObject%
     */
 \
    MACRO(BuiltinObject, builtin_object, NULL     */\
    /*
     * Invoke `callee` with `this` and `args`, and push the return value. Throw
     * a TypeError if `callee` isn't a function.

     * `JSOp::CallContent` is for `callContentFunction` in      *Type:Calls
     * this is for handling it differently in debugger's `onNativeCall` hook.
     * `onNativeCall` hook disables all JITs, and `JSOp::CallContent` is
     * treated exactly the same as `JSOP::Call` in     /*
     *
     * `     *
 with`java.lang.StringIndexOutOfBoundsException: Range [69, 67) out of bounds for length 79
     * iterable") rather than `JSMSG_NOT_FUNCTION` ("x[Symbol.iterator] is not
     * a function"). The `argc` operand must be 0 for this variation.
     *
     * `JSOp::CallContentIter` is `JSOp::CallContent` variant of
     * `JSOp::CallIter`.
     *
     * `JSOp::CallIgnoresRv` hints to the VM that the return value is ignored.
     * This allows alternate faster implementations to be used that avoid
     * unnecesary allocations.
     *
     * Implements: [EvaluateCall][1] steps 4, 5, and 7.
     *
     * [1]: https://tc39.es/ecma262.
     *
     *   Category: Functions
     *   Type: Calls
     *   Operands: uint16_t argc
     *   Stack: callee, this, args[0], ..., args[argc-1] => rval
     */
 \
    MACRO(Call, call, NULL, 3, -11, JOF_ARGC|JOF_INVOKE|JOF_IC) \
    MACRO(CallContent, call_content, NULL, 3, -11, JOF_ARGC|JOF_INVOKE|JOF_IC) \
    MACRO(CallIter, call_iter, NULL, 3, -11, JOF_ARGC|JOF_INVOKE|JOF_IC) \
    MACRO(CallContentIter, call_content_iter, NULL, 3, -11, JOF_ARGC|JOF_INVOKE|JOF_IC) \
    MACRO(CallIgnoresRv, call_ignores_rv, NULL, 3, -11, JOF_ARGC|JOF_INVOKE|JOF_IC) \
   *
     * Like `JSOp::Call`, but the arguments are java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 6
     * a span of stack slots. Used to implement spread-call syntax:
 f..
     *
     * `args` must be an Array object containing the actual arguments. The
     * arrayandwillbefrozen
     * This can be ensured by creating      *
     * populating it using `JSOp::InitElemArray`.
     *
     *   Category: Functions
     *   Type: Calls
     *   Operands:
     *   Stack: callee, this, args => rval
     */ \
    MACRO(SpreadCall, spread_call, NULL, 131, JOF_BYTE|JOF_INVOKE|JOF_SPREAD|JOF_IC) \
    /*
     * Push an array object that can be passed directly as the `args` argument
     * to `JSOp::SpreadCall`. If the operation can't be optimized, push
     * `undefined` instead.
     *
     * This instruction and the branch around the iterator loop are emitted
     * only when `iterable` is the sole argument in a call, as in `f(...arr)`.
     *
     *See `js:`java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
     *
      C 
     *   Type: Calls
     *   Operands:
     *   Stack: iterable => array_or_undefined
     */
 \
    MACRO(OptimizeSpreadCall, optimize_spread_call, NULL, 111, JOF_BYTE|JOF_IC) \
         *
     * Perform a direct eval in the current environment if `     * `JSOp: exactlyjava.lang.StringIndexOutOfBoundsException: Range [74, 45) out of bounds for length 74
     * builtin `eval` function, otherwise follow same behaviour as `JSOp::Call`.
     *
     * All direct evals use one of the JSOp::*Eval instructions here and these
     * opcodes are only used when the syntactic conditions for a direct eval
     * are met. If the builtin `eval` function is called though other means, it
     * becomes an indirect eval.
     *
     * Direct eval causes all bindings in *enclosing* non-global scopes to be
     * marked "aliased". The optimization that puts bindings in stack slots has
     * to prove that the bindings won't need to be captured by closures or
     * accessed using `JSOp::{Get,Bind,Set,Del}Name` instructions. Direct eval
     * makes that analysis impossible.
     *
     * The instruction immediately following any `JSOp::*Eval` instruction must
     * be `JSOp::Lineno`.
     
     * Implements: [Function Call Evaluation][1], steps 5-7 and 9, when the
     * syntactic critera for direct eval in step 6 are all met.
     *
     * [1]: https://tc39.es/ecma262/#sec-function-calls-runtime-semantics-evaluation
     *
     *   Category: Functions
     *   Type: Calls
     *   MACRO(SpreadSuperCall, ,1 ,1 JOF_INVOKEJOF_CONSTRUCT|JOF_SPREAD|JOF_IC) \
     *   Stack: callee, this, args[0], ..., args[argc-1] => rval
     */
 \
    MACRO(Eval, eval, NULL, 3, -11, JOF_ARGC|JOF_INVOKE|JOF_CHECKSLOPPY|JOF_IC) \
    /*
     * Spread-call variant of `JSOp::Eval`.
     *
     * See `JSOp::SpreadCall` for restrictions on `args`.
     *
     *   Category: Functions
     *   Type: Calls
     *   Operands:
     *   Stack: callee, this, args => rval
     */
 \
    MACRO(SpreadEval, spread_eval, NULL, 131, JOF_BYTE|JOF_INVOKE|JOF_SPREAD|JOF_CHECKSLOPPY|JOF_IC) \
    /*
     * Like `JSOp::Eval`, but for strict mode code.
     *
     *   Category: Functions
     *   Type: Calls
     *   Operands: uint16_t argc
     *   Stack: evalFn, this, args[0], ..., args[argc-1] => rval
     */
 \
    MACRO(StrictEval, strict_eval, NULL, 3, -11, JOF_ARGC|JOF_INVOKE|JOF_CHECKSTRICT|JOF_IC) \
    /*
     * Spread-call variant of `JSOp::StrictEval`.
     *
     * See `JSOp::SpreadCall` for restrictions on `args`.
     *
     *   Category: Functions
     *   Type: Calls
     *   Operands:
     *   Stack: callee, this, args => rval
     */
 \
    MACRO(StrictSpreadEval, strict_spread_eval, NULL, 131, JOF_BYTE|JOF_INVOKE|JOF_SPREAD|JOF_CHECKSTRICT|JOF_IC) \
    /*
     * Push the implicit `this` value for an unqualified function call, like
     * `foo()`.
     *
     * The result is always `undefined` except when the name refers to a `with`
     * binding.  For example, in `with (date) { getFullYear(); }`, the
     * implicit `this` passed to `getFullYear`      1:https:/es/#
     *
     * Implements: [EvaluateCall][1] step 1.b.
     *
     * [1]: https://tc39.es/ecma262/#sec-evaluatecall
     *
     *   Category: Functions
     *   Type: Calls
     *   Operands:
     *   Stack: env => this
     */
 \
    MACRO(ImplicitThis, implicit_this, ""111, JOF_BYTE) \
    /*
     * Push the call site object for a tagged template call.
     *
     * `script->getObject(objectIndex)` is the call site object.
     *
     * The call site object will already have the `.raw` property defined on it
     * and will be frozen.
     *
     *   Category: Functions
     *   Type: Calls
     *   Operands: uint32_t objectIndex
     *   Stack: => callSiteObj
     */
 \
    MACRO(CallSiteObj, call_site_obj, NULL, 501, JOF_OBJECT) \
    /*
     * Push `MagicValue(JS_IS_CONSTRUCTING)`.
     *
     * This magic value is a required argument to the `JSOp::New` and
     * `JSOp::SuperCall` instructions and must not be used any other way.
     *
        
     *   Type: Calls
     *   Operands:
     *   Stack: => JS_IS_CONSTRUCTING
     */
 \
    MACRO(IsConstructing, is_constructing, NULL, 101, JOF_BYTE) \
    /*
     * Invoke `callee` as a constructor with `args` and `newTarget`, and push
     * the return value. Throw a TypeError if `callee` isn't a constructor.
     *
     * `isConstructing` must be the value pushed by `JSOp::IsConstructing`.
     *
     * `JSOp::SuperCall` behaves exactly like `JSOp::New`, but is used for
     * *SuperCall* expressions, to allow JITs to distinguish them from `new`
     * expressions.
     *
     * `JSOp::NewContent` is for `constructContentFunction` in self-hosted JS.
     * See the comment for `JSOp:     *
     *
     * Implements: [EvaluateConstruct][1] steps 7 and 8.
     *
     * [1]: https://tc39.es/ecma262/#sec-evaluatenew
     *
     *   Category: Functions
     *   Type: Calls     *[generator object setup][2] are implemented mostly in bytecode. However,
   : argc
     *   Stack: callee, isConstructing, args[0], ..., args[argc-1], newTarget => rval
     */
 \
    MACRO(New, new_, NULL, 3, -11, JOF_ARGC|JOF_INVOKE|JOF_CONSTRUCT|JOF_IC) \
    MACRO(NewContent, new_content, NULL, 3, -11, JOF_ARGC|JOF_INVOKE|JOF_CONSTRUCT|JOF_IC) \
    MACRO(SuperCall, super_call, NULL, 3, -11, JOF_ARGC|JOF_INVOKE|JOF_CONSTRUCT|JOF_IC) \
    /*
     -all variantof`::`.
     *
     * Invokes `callee` as a constructor with `args` and `newTarget`, and
     * pushes the return value onto the stack.
     *
     * `isConstructing` must be the value pushed by `JSOp::IsConstructing`.
* :java.lang.StringIndexOutOfBoundsException: Range [30, 28) out of bounds for length 57
     *
     * `JSOp::SpreadSuperCall` behaves exactly like `JSOp::SpreadNew`, but is
     * used for *SuperCall* expressions.
     *
     *   Category: Functions
     *   Type: Calls
     *   Operands:
         ,args = rval
     */
 \
    MACRO(SpreadNew, spread_new, NULL, 141, JOF_BYTE|JOF_INVOKE|JOF_CONSTRUCT|JOF_SPREAD|JOF_IC) \
    SpreadSuperCallspread_super_call,NULL,1 4,1 JOF_CONSTRUCT|OF_IC java.lang.StringIndexOutOfBoundsException: Index 115 out of bounds for length 115
    /*
     * Push the prototype of `callee` in preparation for calling      *   Category: Functions
     *
      be derived class constructor.
     *
     * Implements: [GetSuperConstructor][1], steps 4-7.
     *
     * [1]: https://tc39.es/ecma262/#sec-getsuperconstructor
     *
     *   Category: Functions
        Type:Calls
     *   Operands:
     *   Stack: callee =>       Debugger `ijava.lang.StringIndexOutOfBoundsException: Range [67, 65) out of bounds for length 72
     */
 \
    MACRO(SuperFun, super_fun, NULL, 111, JOF_BYTE) \
    /*
     * Throw a ReferenceError if `thisval` is not
     * `MagicValue(JS_UNINITIALIZED_LEXICAL)`. Used in derived class
     * constructors to prohibit calling `super` more than once.
     *
     * Implements: [BindThisValue][1], step java.lang.StringIndexOutOfBoundsException: Range [0, 45) out of bounds for length 6
     *
     * [1]: https://tc39.es/ecma262/#sec-bindthisvalue
     *
     *   Category: Functions
     *   Type: Calls
     Operands:
     *   Stack: thisval => thisval
     */
 \
    MACRO(CheckThisReinit, check_this_reinit, NULL, 111, JOF_BYTE) \
    /*
     * Create and push a generator object for the current frame.
     *
     * This instruction must appear only in scripts for generators, async
  java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 77
     * object for the current frame (that is, this instruction must execute at
     * most once per generator or async call).
     *
     *   Category: Functions
     *   Type: Generators and async functions
     *   Operands:
     *   Stack: => gen
     */
 \
    MACRO(     *   Category:
    /*
     * Suspend the current generator and return to the caller.
     *
     *     *  :
     * function, because [FunctionDeclarationInstantation][1] and other
     * [generator object setup][2] are implemented mostly in bytecode. However,
     * the *FunctionBody* of the generator is not supposed to start running
*until the first `.next() ,   setup   suspends
     * itself: the "initial yield".
     *
     * Later, when resuming execution, `rval`, `gen` and `resumeKind` will
     * receive the values passed in by `JSOp::Resume`. `resumeKind` is the
     * `GeneratorResumeKind` stored as an Int32 value.
     *
     * This instruction must appear only in scripts for generators and async
     * generators. `gen` must be the generator object for the current frame. It
     * must not have been previously suspended. The resume point indicated by
     * `resumeIndex` must be the next instruction in the script, which must be
     * `AfterYield`.
     *
     * Implements: [GeneratorStart][3], steps 4-7.
     *
     * [1]: https://tc39.es/ecma262/#sec-functiondeclarationinstantiation
* 2] https:/tc39esecma262#sec--function-definitions-runtime-semantics-evaluatebody
     * [3]: https://tc39.es/ecma262/#sec-generatorstart      passed byJ:Resume`java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
     *   Category: Functions
     *   Type: Generators and async functions
Operands resumeIndex
     *   Stack: gen => rval, gen, resumeKind
     */
 \
    MACRO(InitialYield, initial_yield, NULL, 413, JOF_RESUMEINDEX) \
    /*
             Stack: rval1, gen => rval2, gen, resumeKind
     * Debugger and `AbstractGeneratorObject::isAfterYieldOrAwait`. It's
     * treated as jump target op so that the Baseline Interpreter can
*   ' interpreterICEntry when resuming a
     * generator.
     *
     * The preceding instruction in the script must be `Yield`, `InitialYield`,
     * or `Await`.
     *
     *   Category: Functions
     *   Type: Generators and async functions
     *   Operands: uint32_t icIndex
     *   Stack: =>
     */
 \
    MACRO(AfterYield, after_yield, NULL, 500, JOF_ICINDEX) \
    /*
     * Suspend and close the current generator, async function, or async
     * generator.
     *
     * `gen` must be the generator object for the current frame.
     *
*thefunction ajava.lang.StringIndexOutOfBoundsException: Range [46, 45) out of bounds for length 78
     * frame's return value slot is returned to the caller. It should be an
     * object of the form `{value: returnValue, done: true}`.
     *
*thefunction isanasync function or async  
     * frame's return value slot must contain the current frame's result
     * promise, which must already be resolved or rejected.
     *
*Category: Functions
     *   Type: Generators and async functions
     *   Operands:
     *   Stack: gen =>
     */
 \
    MACRO(FinalYieldRval, final_yield_rval, NULL, 110, JOF_BYTE) \
    /*
     * Suspend execution of the current generator or async generator, returning
     * `rval1`.
     *
     * For non-async generators, `rval1` should be an object of the form
     * `{value: valueToYield, done: true}`. For async generators, `rval1`
     * should be the value to yield, and the caller is responsible for creating
     * the iterator result object (under `js::AsyncGeneratorYield`).
     *
     * This instruction must appear only in scripts for generators and async
     * generators. `gen` must be the generator object for the current stack
     * frame. The resume point indicated by `resumeIndex` must be the next
     * instruction in the script, which must be `AfterYield`.
     *
     * When resuming execution, `rval2`, `gen`      The result `romise`is the function' result java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67
     * values passed in by `JSOp::Resume`.
     *
     * Implements: [GeneratorYield][1] and [AsyncGeneratorYield][2].
     *
     * [1]: https://tc39.es/ecma262/#sec-generatoryield
     * [2]: https://tc39.es/ecma262/#sec-asyncgeneratoryield
     *
     *   Category: Functions
     *   Type: Generators and async functions
     *   Operands: uint24_t resumeIndex
     *   java.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 9
     */
 \
    MACRO(Yield, yield, NULL, 423, JOF_RESUMEINDEX) \
    /*
     * Pushes a boolean indicating whether the top of the stack is
     * `MagicValue(JS_GENERATOR_CLOSING)`.
     *
     *   Category: Functions
     *   Type: Generators and async functions
     *   Operands:
     *   Stack: val => val, res
     */
 \
    MACRO(IsGenClosing, is_gen_closing, NULL, 112, JOF_BYTE) \
    /*
     * Arrange for this async function to resume asynchronously when `value`
     * becomes resolved.
     *
     * This is the last thing an async function does before suspending for an
     * `await` expression. It coerces the awaited `value` to a promise and
     * effectively calls `.then()` on it, passing handler functions that will
     * resume this async function call later. See `js::AsyncFunctionAwait`.
     *
     * This instruction must appear only in non-generator async function
`  internal java.lang.StringIndexOutOfBoundsException: Range [75, 59) out of bounds for length 75
     * frame. After this instruction, the script should      *valueToAwait
     * `Await` (rather than exiting any other way).
     *
     * The result `promise` is the async function's result promise,
     * `gen->as<AsyncFunctionGeneratorObject>().promise()`.
     *
     * Implements: [Await][1], steps 2-9.
     *
     * [1]: https://tc39.github.io/ecma262/#await
     *
     *   Category: Functions
     *   Type: Generators and async functions
     *   Operands:
     *   Stack: value, gen => promise
     */
 \
    MACRO(AsyncAwait, async_await, NULL, 121, JOF_BYTE) \
    /*
     * Resolve the current async function's result promise with 'value'.
     *
     * This instruction must appear only in non-generator async function
     * scripts. `gen` must be the internal generator object for the current
     * frame. This instruction must run at most once per async function call,
     * as resolving an already resolved/rejected promise is not permitted.
     *
     * The result `promise` is the async function's result promise,
     * `gen->as<AsyncFunctionGeneratorObject>().promise()`.
     *
     * Implements: [AsyncFunctionStart][1], step 4.d.i. and 4.e.i.
     *
     * [1]: https://tc39.es/ecma262/#sec-async-functions-abstract-operations-async-function-start
     *
     *   Category: Functions
     *   Type: Generators and async functions
     ` namely,`js:AsyncGeneratorAwait` called from
     *   Stack: value, gen => promise
     */
 \
    MACRO(AsyncResolve, async_resolve, NULL, 121, JOF_BYTE) \
    /*
     * Reject the current async function's result promise with 'reason'.
     *
     * This instruction must appear only in non-generator async function
     * scripts. `gen` must be the internal generator object for the current
     * frame. This instruction must run at most once per async function call,
     * as rejecting an already resolved/rejected promise is not permitted.
     *
     * The result `promise` is the async function's result promise,
     * `gen->as<AsyncFunctionGeneratorObject>().promise()`.
     *
     * Implements: [AsyncFunctionStart][1], step 4.d.i. and 4.e.i.
     *
     * [1]: https://tc39.es/ecma262/#sec-async-functions-abstract-operations-async-function-start
     *
     *   Category: Functions
     *   Type: Generators and async functions
     *   Operands:
     *   Stack: reason, stack, gen => promise
     */
 \
    MACRO(AsyncReject, async_reject, NULL, 131, JOF_BYTE) \
    /*
     * Suspend the current frame for 
     *
     * This instruction must appear only in scripts for async functions and
     * async generators. `gen` must be the internal generator object for the
     * current frame.
     *
     * This returns `promise` to the caller. Later, when this async call is
 java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 79
     * by `JSOp::Resume`, and execution continues at the next instruction,
     * which must be `AfterYield`.
     *
 instructionisinjava.lang.StringIndexOutOfBoundsException: Range [56, 55) out of bounds for length 61
     *
     * 1.  In async functions:
     *
     *         ...                          # valueToAwait
     *         GetAliasedVar ".generator"   # valueToAwait gen
     *         AsyncAwait                   # resultPromise
     *         GetAliasedVar ".generator"   # resultPromise gen
     *         Await                        genr
     *         AfterYield
     *
     *     `AsyncAwait` arranges for this frame to be resumed later and pushes
     *     its result promise. `Await` then suspends the frame and removes it
     *     from the stack, returning the result promise to the caller. (If this
     *     async call hasn't awaited before, the caller may be 
     *     Otherwise, the caller is self-hosted code using `resumeGenerator`.)
     *
     * 2.  In async generators:
     *
     *         ...                          # valueToAwait
     *         GetAliasedVar ".generator"   # valueToAwait gen
     *         Await                        # resolved gen resumeKind
     *         AfterYield
     *
     *     `AsyncAwait` is not used, so (1) the value returned to the caller by
is,`java.lang.StringIndexOutOfBoundsException: Range [57, 56) out of bounds for length 77
     *     is responsible for doing the async-generator equivalent of
     *     `AsyncAwait` (namely, `js::AsyncGeneratorAwait`, called from
     *     `js::AsyncGeneratorResume` after `js::CallSelfHostedFunction`
java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 20
     *
     * Implements: [Await][1], steps 10-12.
     *
     * [1]: https://tc39.es/ecma262/#await
     *
     *   Category: Functions
     *   Type: Generators and async functions
     *   Operands: uint24_t resumeIndex
     *   Stack   thebackwards for 
     */
 \
    MACRO(Await, await, NULL, 423, JOF_RESUMEINDEX) \
    /*
     * Test if the re-entry to the microtask loop may be skipped.
     *
     * This is part of an optimization for `await` expressions. Programs very
     * often await values that aren't      * deeply nested loops all havethe value.
     * resolved. We can then sometimes skip suspending the current frame and
     * returning to the microtask loop. If the circumstances permit the
     * optimization, `java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 6
     * and false otherwise.
     *
     *   Category: Functions
     *   Type: Generators and async functions
     *   Operands:
     *   Stack: value => value, can_skip
     */
 \
    MACRO(CanSkipAwait, can_skip_await, NULL, 112, JOF_BYTE) \
    /*
     * Potentially extract an awaited value, if the      *
     *
     * If re-entering the microtask loop is skippable (as checked by CanSkipAwait)
     * if can_skip is true,  `MaybeExtractAwaitValue` replaces `value` with the result of the
     * `await` expression (unwrapping the resolved promise, if any). Otherwise, value java.lang.StringIndexOutOfBoundsException: Index 92 out of bounds for length 33
     * as is.
     *
     * In both cases, can_skip remains the same.
     *
     *   Category: Functions
     *   Type: Generators and async functions
     *   Operands:
     *   Stack: value, can_skip => value_or_resolved, can_skip
     */
 \
    MACRO, maybe_extract_await_value, NULL, 122, JOF_BYTE\
    /*
     * Pushes one of the GeneratorResumeKind values as Int32Value.
     *
     *   Category: Functions
     *   Type: Generators and async functions
*   resumeKind (as java.lang.StringIndexOutOfBoundsException: Index 70 out of bounds for length 70
     *   Stack: => resumeKind
     */
 \
    MACRO(ResumeKind, resume_kind, NULL, 201, JOF_UINT8) \
    /*
     * Handle Throw and Return resumption.
     *
     * `gen` must be the generator object for the current frame. `resumeKind`
     * must be a `GeneratorResumeKind` stored as an `Int32` value. If it is
      `ext, continue to the next instruction. If`resumeKind` is `hrow` or
     * `Return`, these completions are handled by throwing an exception. See
     * `GeneratorThrowOrReturn`.
     *
        Category: Functions
     *   Type: Generators and async functions
     *   Operands:
     *   Stack: rval, gen, resumeKind => rval
     */
 \
    MACRO(CheckResumeKind, check_resume_kind, NULL, 131, JOF_BYTE) \
    /*
     * Resume execution of *   Stack: value => value, can_skip
     */
 \
    MACRO(CanSkipAwait, can_skip_await, NULL, 112, JOF_BYTE) \
    /*
     * Potentially extract an awaited value, if the await is skippable
     *
     * If re-entering the microtask loop is skippable (as checked by CanSkipAwait)
     * if can_skip is true,  `MaybeExtractAwaitValue` replaces `value` with the result of the
     * `await` expression (unwrapping the resolved promise, if any). Otherwise, value remains
     * as is.
     *
     * In both cases, can_skip remains the same.
     *
     *   Category: Functions
     *   Type: Generators and async functions
     *   Operands:
     *   Stack: value, can_skip => value_or_resolved, can_skip
     */
 \
    MACRO(MaybeExtractAwaitValue, maybe_extract_await_value, NULL, 122, JOF_BYTE) \
    /*
     * Pushes one of the GeneratorResumeKind values as Int32Value.
     *
     *   Category: Functions
     *   Type: Generators and async functions
     *   Operands: GeneratorResumeKind resumeKind (encoded as uint8_t)
     *   Stack: => resumeKind
     */
 \
    MACRO(ResumeKind, resume_kind, NULL, 201, JOF_UINT8) \
    /*
     * Handle Throw and Return resumption.
     *
     * `gen` must be the generator object for the current frame.     *resumed, `resolved`, `gen` and `resumeKind` receive the values passed
     * must be a `GeneratorResumeKind` stored as an `     * This  is used in two subtly different ways.
     * `Next`, continue to the next instruction. If `resumeKind` is `Throw` or
     * `Return`, these completions are handled by throwing an exception. See
     * `GeneratorThrowOrReturn`.
     *
     *   Category: Functions
     *   Type: Generators and async functions
     *   Operands:
     *   Stack: rval,# resolved gen esumeKind
     */
 \
    MACRO(CheckResumeKind, check_resume_kind, NULL, 1java.lang.StringIndexOutOfBoundsException: Range [6, 7) out of bounds for length 6
    /*
     * Resume execution of a generator, async function, or async generator.
     *
     * This behaves something like a call instruction. It pushes a stack frame
     * (the one saved when `gen` was suspended, rather than a fresh one) and
     * runs instructions in it. Once `gen` returns or yields, its return value
     * is pushed to this frame's stack and execution continues in this script.
     *
     * This instruction is emitted only for the `resumeGenerator` self-hosting
     * intrinsic. It is used in the implementation of
     * `%GeneratorPrototype%.next`, `.throw`, and `.return`.
     *
     * `gen` must be a suspended generator object. `resumeKind` must be in
     * range for `GeneratorResumeKind`.
     *
     *   Category: Functions
     *   Type: Generators and async functions
     *   Operands:
     *   Stack: gen, val, resumeKind => rval
     */
 \
    MACRO(Resume, resume, NULL, 131, JOF_BYTE|JOF_INVOKE) \     *     `Await` is `valueToAwait`, not resultPromise`; and (2) the caller
    /*
     * No-op instruction marking the target of a jump instruction.
     *
     * This instruction and a few others (see `js::BytecodeIsJumpTarget`) are
     * jump target instructions. The Baseline Interpreter uses these
     *      *     returns).
     * uses them to find block boundaries when translating bytecode to MIR.
     *
     *   Category: Control flow
     *   Type: Jump targets
     *   Operands: uint32_t icIndex
     *   Stack: =>
     */
 \
    MACRO(JumpTarget, jump_target, NULL, 500, JOF_ICINDEX) \
    /*
hetargetofthe jump some loop.
     *
     * This is a jump target instruction (see `JSOp::JumpTarget`). Additionally,
     * it checks for interrupts and handles JIT tiering.
     *
     * The `depthHint` operand is a loop depth hint for Ion. It starts at 1 and
loopsall  same value.
     *
     * For the convenience of the JITs, scripts must not start with this
     * instruction. See bug 1602390.
     *
     *   Category: Control flow
     *   Type: Jump targets
     *   Operands: uint32_t icIndex, java.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 6
     *   Stack: =>
     */
 \
    MACRO(LoopHead, loop_head, NULL, 600, JOF_LOOPHEAD) \
    /*
     * Jump to a 32-bit offset from the current bytecode.
*
     * See "Jump
     *
     *   Category: Control flow
     *   Type: Jumps
     *   Operands: int32_t offset
     *   Stack: =>
     */
 \
    MACRO(Goto, goto_, NULL, 500, JOF_JUMP) \
    /*
     * If ToBoolean(`cond`) is false, jumps to a 32-bit offset from the current
     * instruction.
     *
     *   Category: Control flow
     *   Type: Jumps
     *   Operands: int32_t(MaybeExtractAwaitValueJOF_BYTE) java.lang.StringIndexOutOfBoundsException: Index 87 out of bounds for length 87
     *   Stack: cond =>
     */
 \
    MACRO(JumpIfFalse, jump_if_false, NULL, 510, JOF_JUMP|JOF_IC) \
    /*
     * If ToBoolean(`cond`) is      *  Operands:GeneratorResumeKind  (ncoded as uint8_t)
     * instruction.
     *
     * `offset` may be positive or negative. This is the instruction used at the
     * end of a do-while loop to     /*
     *
     *   Category: Control flow
     *   Type: Jumps
     *   Operands: int32_t offset
     **N`next isTjava.lang.StringIndexOutOfBoundsException: Range [75, 74) out of bounds for length 78
     */
 \
    MACRO(JumpIfTrue, jump_if_true, NULL,*
    /*
     * Short-circuit for logical AND.
     *
     * If ToBoolean(`cond`) is false, jump to a 32-bit offset from the current
     * instruction. The value remains on the stack.
     *
     *   Category: Control flow
     *   Type: Jumps
     *   Operands: int32_t forwardOffset
     *   Stack: cond => cond
     */
 \
         java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
    /*
     * Short-circuit for logical OR.
     *
     * If ToBoolean(`cond`) is true, jump to a 32-bit offset from the current
     * instruction. The value remains on the stack.
     *
     *   Category: Control flow
     *   Type: Jumps
     *   Operands: int32_t forwardOffset
     *   Stack: cond => cond
     */
 \
,,NULL5  |java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
    /*
     * Short-circuiting for nullish coalescing.
     *
     * If `val` is not null or undefined, jump to a 32-bit offset from the
     * current instruction.
     *
     *   Category: Control flow
     *   Type: Jumps
     *   Operands: int32_t forwardOffset
     *   Stack: val => val
     */
 \
    MACRO(Coalesce, coalesce, NULL, 511, JOF_JUMP) \
     /*
     * Like `JSOp::JumpIfTrue`, but if the branch is taken, pop and discard an
     *      Marks the target the  for loop.
     *
     * This is used to implement `switch` statements when the
     * `JSOp::TableSwitch` optimization is not possible. The switch statement
java.lang.StringIndexOutOfBoundsException: Index 75 out of bounds for length 6
     *     switch (expr) {
     *         case A: stmt1;
     *         case B: stmt2;
     *     }
     *
     * compiles to this bytecode:
     *
     *         # dispatch code - evaluate expr, check it against each `case`,
     *         # jump to the right place in the body or to the end.
     *         <expr>
     *         Dup; <A>; StrictEq; Case L1; JumpTarget
     *         Dup; <B>; StrictEq; Case L2; JumpTarget
     *         Default LE
     *
     *# body code
     *     L1: JumpTarget; <stmt1>
     *     L2: JumpTarget; <stmt2>
     *     LE
     *
     * This opcode is weird: it's the only one whose ndefs varies depending on
     * which way a conditional branch goes. We could implement switch
     * statements using `JSOp::JumpIfTrue` and `JSOp::Pop`, but that would also
     * be awkward--putting the `JSOp::Pop` inside the `switch` body would
     * complicate fallthrough.
     *
     *   Category: Control flow
     *   Type: Jumps
     *   Operands: int32_t forwardOffset
     *   Stack: val, cond => val (if !cond)
     */
 \
    MACRO(Case, case_, NULL, 521, JOF_JUMP) \
    /*
     * Like `JSOp::Goto`, but pop and discard an additional stack value.
     *
     * This appears after all cases for a non-optimized `switch` statement. If
     * there's a `default:` label, it jumps to that point in the body;
     * otherwise it jumps to the next statement.
     *
     *   Category: Control flow
     *   Type: Jumps
     *   Operands: int32_t forwardOffset
     *   Stack: lval =>
     */
 \
    MACRO
    /*
     * Optimized switch-statement dispatch, used when all `case` labels are
     * small integer constants.
     *
     * If `low <= i <= high`, jump to the instruction at the offset given by
     *`cript->resumeOffsets()[firstResumeIndexjava.lang.StringIndexOutOfBoundsException: Range [51, 50) out of bounds for length 79
     * start of the current script's bytecode. Otherwise, jump to the
     * instruction at `defaultOffset` from the current instruction. All of
     * these offsets must be in range for the current script and must point to
     * `JSOp::JumpTarget` instructions.
     *
     * The following inequalities must hold: `low <= high` and
     * `firstResumeIndex + high - low < resumeOffsets().size()`.
     *
     *   Category: Control flow
     *   Type:     *   Type: rcuiting for nullish .
     *   Operands: int32_t defaultOffset, int32_t low, int32_t high,
     *             uint24_t firstResumeIndex
     *   Stack: i =>
     */
 \
    MACRO(TableSwitch, table_switch, NULL, 1610, JOF_TABLESWITCH) \
    *
     * Return `rval`.
     *
     * This must not be used in
     *`SOp:SetRval` `SOp:CheckReturn` and J:RetRval.
     *
     *   Category: Control flow
     *   Type: Return
     *   Operands:
     *   Stack: rval =>
     */
 \
    MACRO(Return, return_, NULL, 110, JOF_BYTE) \
    /*
     * Push the current stack frame's `returnValue`. If no `JSOp::SetRval`
     * instruction has been executed in this stack frame, this is `undefined`.
     *
     * Every stack frame has a `returnValue` slot, used by top-level scripts,
     * generators, async functions, and derived class constructors. Plain
     * functions usually use `JSOp::Return` instead.
     *
     *   Category: Control flow
     *   Type: Return
     *   Operands:
     *   Stack: => rval
     */
 \
    MACRO(GetRval, get_rval, NULL, 101, JOF_BYTE) \
    /*
     *  complicatefallthrough.
     *
     * This instruction must not be used in a toplevel script compiled with the
     * `noScriptRval` option.
     *
     *   Category: Control flow
     *   Type: Return
     *   Operands:
     *   Stack: rval =>
     */
 \
    MACRO(SetRval, set_rval, NULL, 110, JOF_BYTE) \
    /*
      Stopexecution returnthe stackframe's `returnValue`. If no
 JSOp:SetRval` instruction has beenexecuted in this stack frame, this
     * is `undefined`.
     *
     * Also emitted at end of every script so consumers don't need to worry
     * about running off the end.
     *
     * If the current script is a derived class constructor, `returnValue` must
     * be an object. The script can use `JSOp::MACRO(Default, default_, NULL, 5, 1, 0, JOF_JUMP
     *
     *   Category: Control flow
     *   Type: Return
     *   Operands:
     *   Stack: =>
     */
 \
    MACRO(RetRval, ret_rval, NULL, 100, JOF_BYTE) \
    /*
     * Check the return value in a derived class constructor.
     *
     * -   If the current stack frame's `returnValue` is an object, push
     *     `returnValue` onto the stack.
     *
     * -   Otherwise, if the `returnValue` is undefined and `thisval` is an
     *     object, push `thisval` onto the stack.
     *
     * -   Otherwise, throw a TypeError.
     *
     * This is exactly what has to happen when a derived class constructor
     * returns. `thisval` should be the current value of `this`, or
     * `MagicValue( *Operands:int32_tdefaultOffset,int32_t low,int32_thigh
     *
     * Implements: [The [[Construct]] internal method of JS functions][1],
     * steps 13 and 15.
     *
     * [1]: https://tc39.es/ecma262/#sec-ecmascript-function-objects-construct-argumentslist-newtarget
     *
     *   Category: Control flow
     *   Type:       Return `rval`java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 18
     *   Stack: thisval => rval
     */
 \
    MACRO(CheckReturn, check_return, NULL, 111, JOF_BYTE) \
    /*
     * Throw `exc`. ()
     *
     * This sets the pending java.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 9
     * code. If we're in a `try` block, java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 6
     * environment chain and resumes execution at the top of the `catch` or
     * `finally` block. Otherwise it starts unwinding the stack.
     *
     * Implements: [*ThrowStatement* Evaluation][1], step 3.
     *
     * [1]: https://tc39.es/ecma262/#sec-throw-statement-runtime-semantics-evaluation
     *
     *   Category: Control flow
     *   Type: Exceptions
     *   Operands:
     *   Stack: exc =>
     */
 \
    MACRO(Throw, throw_, NULL, 110, JOF_BYTE) \
    
     * Throw `exc`. ()
     *
     * This sets the pending exception to `exc`, the pending exception stack
     * to `stack`, and then jumps to error-handling code. If we're in a `try`
     * block, error handling adjusts the stack and environment chain and resumes
     * execution at the top of the `catch` or `finally` block. Otherwise it
     * starts unwinding the stack.
     *
     * This is used in for-of loops. If the body of the loop throws an
     * exception, we catch it, close the iterator, then use
     * `JSOp::ThrowWithStack` to rethrow.
     *
     *   Category: Control flow
     *   Type: Exceptions
     *   Operands:
     *   Stack: exc, stack =>
     */
 \
    MACRO(ThrowWithStack* Check value java.lang.StringIndexOutOfBoundsException: Range [43, 42) out of bounds for length 61
    /*
     * Create a suppressed error object and push it on the stack.
     *
     * Implements: [     *     object, push `hisval` onto stack.
     *
     * [1] https://arai-a.github.io/ecma262-compare/?pr=3000&id=sec-disposeresources
     *
     *   Category: Control flow
     *   Type: Exceptions
     *   Operands:
     *Stack:error,= suppressedError
     */
 \
    IF_EXPLICIT_RESOURCE_MANAGEMENT(MACRO(CreateSuppressedError, java.lang.StringIndexOutOfBoundsException: Index 88 out of bounds for length 6
    /*
     * Create and throw an Error object.
     *
     * Sometimes*  Type 
     * delete` java.lang.StringIndexOutOfBoundsException: Range [48, 47) out of bounds for length 79
     * ReferenceError.
     *
     *\
     * object.  It must be an error number in js/public/friend/ErrorNumbers.msg.
     * The number of arguments in the error message must be 0.
     *
     *   Category: Control flow
     *   Type: Exceptions
     *   Operands: ThrowMsgKind msgNumber
     *   Stack: =>
     */
 \
    MACRO(ThrowMsg, throw_msg, NULL, 20,     *
    /*
     * Throws a runtime      java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
     *
     *   Category:  *   
     *   Type: Exceptions
     *   Operands: uint32_t nameIndex
     *   Stack:
     */
 \
    MACRO(ThrowSetConst, throw_set_const, NULL, 500, JOF_ATOM) \
    /*
     * No-op instruction that marks the top of the bytecode for a
     * *TryStatement*.
     *
     * Location information for catch/finally blocks is stored in a side table above), as that's the only
     * way instructions would run with an exception pending.
     *
     * Used to implement implicit catch-blocks generated as part of for-of
     * iteration.
     *
     *   Category: Control flow
     *   Type: Exceptions
     *   Operands:
     *   Stack: => exception, stack
     */
 \
    MACRO(ExceptionAndStack, exception_and_stack, NULL, 102, JOF_BYTE) \
    /*
     * No-op instruction that marks the start of a `finally` block.
     *
     *   Category: Control flow
     *   Type: Exceptions
     *   Operands:
     *   Stack: =>
     */
\
    MACRO(FinallyStack:= 
    /*
      Push `MagicValue(JS_UNINITIALIZED_LEXICAL), a magic value used to mark
     * a binding as uninitialized.
     *
     * This magic value must be used only by `JSOp::InitLexical`.
     *
     *      This stores the `v fixed lot `ocalno   
     *   Type: Initialization
     *   Operands:
     *   Stack: => uninitialized
     */
 \
    MACRO(Uninitialized, uninitialized, NULL, 101, JOF_BYTE) \
    /*
     * Initialize an optimized local lexical binding; or mark it as
     * uninitialized.
     *
     java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 75
     * stack frame. If `v` is the magic value produced by `JSOp::Uninitialized`,
     * this marks the binding as uninitialized. Otherwise this initializes the
     * binding with value `v`.
    
     * Implements: [CreateMutableBinding][1]*/  java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
     * uninitialized", and [InitializeBinding][2], for optimized locals. (Note:
     * this is how `const` bindings are initialized.)
     *
     * [1]: https://tc39.es/ecma262/#sec-declarative-environment-records-createmutablebinding-n-d
     * [2]: https://tc39.es/ecma262/#sec-declarative-environment-records-initializebinding-n-v
     *
     *   Category: Variables and scopes
     *   Type: Initialization
     *   Operands: uint24_t localno
     *   Stack: v => v
     */
 \
    MACRO(InitLexical, init_lexical, NULL, 411, JOF_LOCAL) \
    /*
* a  lexical .
     *
     * The binding must already have been created by
     * `GlobalOrEvalDeclInstantiation` and must be uninitialized.
     *
     * Like `JSOp::InitLexical` but for global lexicals. Unlike `InitLexical`
     * this can't be used to mark a binding as uninitialized.
     *
     *   Category: Variables and scopes
     *   Type: Initialization
     uint32_t 
     *   Stack: val => val
     */
 \
    MACRO(InitGLexical, init_g_lexical, NULL, 511, JOF_ATOM|JOF_PROPINIT|JOF_GNAME|JOF_IC) \
    /*
     * Initialize an aliased lexical binding; or mark it as uninitialized.
     *
     * Like `JSOp::InitLexical` but for aliased bindings.
     *
     * Note: There is no even-less-optimized `InitName` instruction because JS
     * doesn't need it. We always know statically which binding we're
     * initializing.
     *
     * `hops` is usually 0, but in `function f(a=eval("var b;")) { }`, the
     * argument `a` is initialized from inside a nested scope, so `hops == 1`.
     *
     *
     *   Type: Initialization
     *   Operands: uint16_t hops, uint24_t slot
     *   Stack: v => v
     */
 \
MACRO, ,NULL , 1 ,JOF_ENVCOORDJOF_PROPINIT) \
    /*
     * Throw a ReferenceError if the value on top of the stack is uninitialized.
     *
     * Typically used after `JSOp::GetLocal` with the same `     *   Type:Initialization
     *
     * Implements: [GetBindingValue][1] step 3 and [SetMutableBinding][2] step
     * 4 for declarative Environment Records.
     *
     * [1]: https://tc39.es/ecma262/#sec-declarative-environment-records-getbindingvalue-n-s
     * [2]: https://tc39.es/ecma262/#sec-declarative-environment     *
     *
     *   Category: Variables and scopes
     *   Type: Initialization
     *   Operands: uint24_t localno
     *   Stack: v => v
     */
 \
    MACRO(CheckLexical, check_lexical, NULL, 411, JOF_LOCAL) \
    /*
     * Like `JSOp::CheckLexical` but for aliased bindings.
     *
     * Typically used after `JSOp::GetAliasedVar` with the same hops/slot.
     *
       are`` ``instructions 
     * they're unnecessary. `JSOp::{Get,Set}{Name,GName}` all check for
     * uninitialized lexicals and throw if needed.
     *
     *   Category:      java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
     *   Type: Initialization
     *   Operands: uint16_t hops, uint24_t slot
     *   Stack: v => v
     */
 \
    MACRO(CheckAliasedLexical, check_aliased_lexical, NULL, 611, JOF_ENVCOORD) \
    \
     * Throw a ReferenceError if the value on top of the stack is
     * `MagicValue(JS_UNINITIALIZED_LEXICAL)`. Used in derived class
     * constructors to check `this` (which needs to be initialized before use,
     * by calling `super()`).
     *
     * Implements: [GetThisBinding][1] step 3.
     *
     * [1]: https://tc39.es/ecma262/#sec-function-environment-records-getthisbinding
     *
     *   Category: Variables and scopes
     *   Type: Initialization
     *   Operands:
     *   Stack: this => this
     */ \
    MACRO(CheckThis, check_this, NULL, 111, JOF_BYTE) \
    /*
     * Look up a name on the global lexical environment's chain and push the
     * environment which contains a binding for that name. If no such binding
     * exists, push the top-most variables object, which is the global object.
     *
     *   Category: Variables and scopes
     *   Type: Looking up bindings
     *   Operands: uint32_t nameIndex
     *   Stack: => global
     */
 \
    MACRO(BindUnqualifiedGName, bind_unqualified_g_name, NULL, 501, JOF_ATOM|JOF_GNAME|JOF_IC) \
    /*
     * Look up an unqualified name on the environment chain and push the
     * environment which contains a binding for that name. If no such binding
     * exists, push the first variables object along the environment chain.
*
     *   Category: Variables and scopes
     *   Type: Looking up bindings
     *   Operands: uint32_t nameIndex
     *   Stack: => env
     */
 \
    MACRO(BindUnqualifiedName, java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 39
    /*
     * Look up a name on the environment chain and push the environment which
     * contains a binding for that name. If no such binding exists, push the
     * global object.
     *
     *   Category: Variables and scopes
     *   Type: Looking up bindings
     *   Operands: uint32_t nameIndex
     *   Stack: => env
     */
 \
    MACRO(BindName, bind_name, NULL, 501, JOF_ATOM|JOF_IC|JOF_USES_ENV) \
    /*
     * Find a binding on the environment chain and push its value.
     *
     * If the binding is an uninitialized lexical, throw a ReferenceError. If
     * no such binding exists, throw a ReferenceError unless the next
     * instruction is `JSOp::Typeof` or `JSOp::TypeofEq` (see IsTypeOfNameOp),
     * in which case push `undefined`.
     *
     * Implements: [ResolveBinding][1] followed by [GetValue][2]
     * (adjusted hackily for `typeof`).
     *
     * This is the fallback `Get` instruction that handles all* 
     * cases. Optimized instructions follow.
     *
     * [1]: https://tc39.es/ecma262/#sec-resolvebinding
     * [2]: https://tc39.es/ecma262/#sec-getvalue
     *
     *   Category: Variables and scopes
     : Getting binding values
     *   Operands: uint32_t nameIndex
     *   Stack: => val
     */
 \
    MACRO(GetName, get_name, NULL, 501, JOF_ATOM|JOF_IC|JOF_USES_ENV) \
    /*
     * Find a global binding and push its value.
     *
     * This searches the global lexical environment and, failing that, the
     * global object. (Unlike most declarative environments, the global lexical
     * environment can gain more bindings after compilation, possibly shadowing
     * global object properties.)
     *
     * This is an optimized version of `JSOp::GetName` that skips all local
     * scopes, for use when the name doesn't refer to any local binding.
     * `NonSyntacticVariablesObject`s break this optimization, so if the
     * current script has a non-syntactic global scope, use `JSOp::GetName`
     * instead.
     *
     * Like `JSOp::GetName`, this throws a ReferenceError if no such binding is
     * found (unless the next instruction is `JSOp::Typeof`) or if the binding
     * is an uninitialized lexical.
     *
     *   Category: Variables and scopes
     *   Type: Getting binding values
     *   Operands: uint32_t nameIndex
     *   Stack: => val
     */
 \
    MACRO:Variables scopes
    /*
     * Push the value of an argument that is stored in the stack frame
  java.lang.StringIndexOutOfBoundsException: Range [33, 32) out of bounds for length 34
     *
     *   Category: Variables and scopes
     *   Type: Getting binding values
     *   Operands: uint16_t argno
     *   Stack: => arguments[argno]
     */
 \
    MACRO(GetArg, get_arg, NULL, 301, JOF_QARG) \
    /*
     * Push the value of an argument that is stored in the stack frame. Like
     * `JSOp::GetArg`, but ignores the frame's `ArgumentsObject` and doesn't
     * assert the argument is unaliased.
     *
     *   Category: Variables and scopes
     *   Type: Getting binding values
     *   Operands: uint16_t argno
     *   Stack: => arguments[argno]
     */
 \
    MACRO(GetFrameArg, get_frame_arg, NULL, 301, JOF_QARG) \
    /*
     * Push the value of an optimized local variable.
     *
     * If the variable is an uninitialized lexical, push
     * `MagicValue(JS_UNINIITALIZED_LEXICAL)`.
     *
     *   Category: Variables and scopes
     *   Type: Getting binding values
     *   Operands: uint24_t localno
     *   Stack: => val
     */
 \
    
    /*
     * Push the number of actual arguments as Int32Value.
     *
     * This is emitted for the ArgumentsLength() intrinsic in self-hosted code,
     * * Localbindings that tclosed java.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 73
     *
     *   Category: Variables and scopes
     *   Type: Getting binding values
     *   Operands:
     *   Stack: => arguments.length
     */
 \
    MACRO(ArgumentsLength, arguments_length, NULL, 101, JOF_BYTE) \
    /*
     * Push the value of an argument that is stored in the stack frame. The
     * value on top of the stack must be an Int32Value storing the index. The
     * index must be less than the number of actual arguments.
     *
     * This is emitted for the GetArgument(i) intrinsic in self-hosted code.
     *
     *   Category: Variables and scopes
     *   Type: Getting binding values
     *   Operands:
     *   Stack: index => arguments[index]
     */
 \
    MACRO(GetActualArg, get_actual_arg, NULL, 111, JOF_BYTE) \
    /*
     * Push the value of an aliased binding.
     *
     * Local bindings that aren't closed over or dynamically accessed are
     * stored in stack slots. Global and `with` bindings are object properties.
     *Push    java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 93
     * `EnvironmentObject     *
     *
     * Where possible, ` *   Category: scopes
     * bindings.  (There's no difference in meaning between `AliasedVar` and
     * `AliasedLexical`.) Each of these instructions has operands `hops` and
     * `slot` that encode an [`EnvironmentCoordinate`][1], directions to the
     * java.lang.StringIndexOutOfBoundsException: Range [43, 14) out of bounds for length 51
     *
     * `Aliased` instructions can't be used when there's a dynamic scope (due
     * to non-strict `eval` or `with`) that might shadow the aliased     *Type: Getting binding values
     *
     * [1]: https://searchfox.org/mozilla-central/search?q=symbol:T_js%3A%3AEnvironmentCoordinate
     *
     *   Category: Variables and scopes
     *   Type: Getting binding values
     *   Operands: uint16_t hops, uint24_t slot
     *   Stack: => aliasedVar
     */
 \
    MACRO(GetAliasedVar,      *
    /*
*  ofanaliased binding may to bypassaDebugEnvironmentProxy
     * on the environment chain.
     *
     *   Category: Variables and scopes
     *   Type: Getting binding values
     *   Operands: uint16_t hops, uint24_t slot
     *   Stack: => aliasedVar
     */
 \
    MACRO(GetAliasedDebugVar, get_aliased_debug_var, NULL, 601, JOF_DEBUGCOORD) \
    /*
     * Get the value of a module import by name and pushes it onto the  * []4and.
     *
     *   Category: Variables and scopes
     *   Type: Getting binding values
     *   Operands: uint32_t nameIndex
     *   Stack: => val
     */
 \
    MACRO(GetImport, get_import, NULL, 501, JOF_ATOM|JOF_IC) \
    /*
     * Get the value of a binding from the environment `env`. If the name is
     *       java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 37
     *
     * `env` must be an environment currently on the environment chain, pushed
     * by `JSOp::BindName`, `JSOp::BindUnqualifiedName`, or `JSOp::BindVar`.
     *
     * Note: `JSOp::Bind(Unqualified)Name` and `JSOp::GetBoundName` are the two
* a  java.lang.StringIndexOutOfBoundsException: Index 52 out of bounds for length 52
     * This decomposed version is needed to      * Used to implement `super`. This is also usedaminor
     * 1. The call operator, which gets a variable and its this-environment.
     * 2. The compound assignment and increment/decrement operators, which get
     *    and then set a variable.
*saysthe onlyonce wethe
     * twice, there would be observable bugs, thanks to dynamic scoping. We
     * could get the wrong this-environment resp. variable or call proxy traps
     * incorrectly.
     *
     * Implements: [GetValue][1] steps 4        : 
     *
     * [1]: https://tc39.es/ecma262/#sec-getvalue
     *
     *   Category: Variables and scopes
     *   Type: Getting binding values
     *   Operands: uint32_t nameIndex
     *   Stack: env => v
     */
 \
    MACRO(GetBoundName, get_bound_name, NULL, 511, JOF_ATOM|JOF_IC) \
    /*
     * Push the value of an intrinsic onto the stack.
     *
     * Non-standard. Intrinsics are slots in the intrinsics holder object (see
     * `GlobalObject::getIntrinsicsHolder`), which is used in lieu of global
     * bindings in self-hosting code.
     *
     *   Category: Variables and scopes
     *   Type: Getting binding values
     *   Operands: uint32_t nameIndex
     *   Stack: => intrinsic[name]
     */
 \
    MACRO(GetIntrinsic, get_intrinsic, NULL, 501, JOF_ATOM|JOF_IC) \
    /*
     * Pushes*Throw ReferenceErrorif theb is uninitialized lexicaljava.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
     *
     * The current script must be a function script.
      `env`mustbe an environment currently on the environment chain,
     * Used to implement `super`. This is also used sometimes as a minor
     * optimization when a named function expression refers to itself by name:
     *
     *     f = function fac(n) {  ... fac(n - 1) ... };
     *
     * This lets us optimize away a lexical environment that contains only the
     * binding for `fac`, unless it's otherwise observable (via `with`, 
     * or a nested closure).
     *
     *   Category: Variables and scopes
     *   Type: Getting binding values
     *   Operands:
     *   Stack: => callee
     */
 \
    MACRO(Callee, callee, NULL      ""part.Optimizedcases  aBind 
    /*
     * Load the callee stored in a CallObject on the environment chain. The
     * `numHops` operand is the number of environment objects to skip on the
     * environment chain. The environment chain element indicated by `numHops`
     * must be a CallObject.
     *
     *   java.lang.StringIndexOutOfBoundsException: Range [15, 14) out of bounds for length 31
     *   Type: Getting binding values
     *   Operands: uint16_t numHops
     *   Stack: => callee
     */
 \
    MACRO(EnvCallee     *Like`SOp:SetName` throwaTypeErrorif is bindingfor
    /*
     * Assign `val` to the binding in `env` with the name given by `nameIndex`.
     * Throw a ReferenceError if the binding is an uninitialized lexical.
     * This can call setters and/or proxy traps.
     *
     * `env` must be an environment currently on the environment chain,
     * pushed by `JSOp::BindUnqualifiedName` or `JSOp::BindVar`.
     *
     * This is java.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 6
     * cases. Optimized instructions follow.
     *
*:[java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 72
     *
     * Note: `JSOp::BindUnqualifiedName` and      *  Stack: env, val => val
     * of simple assignment: finding and setting a variable. They are two
     *    (StrictSetName, strict_set_name,NULL 5 , 1,JOF_ATOM|JOF_PROPSETJOF_CHECKSTRICT|JOF_IC|OF_USES_ENV)\
     * before evaluating the right-hand side of the assignment, and the
     * "setting" part after. Optimized cases don't need a `Bind` instruction
     * because the "finding" is done statically.
     *
:tc39es/ecma262#putvalue
     *
     *   Category: Variables and scopes
     *   Type: Setting binding values
     *   Operands: uint32_t nameIndex
     *   Stack: env, val => val
     */
 \
    MACRO(SetName, set_name, NULL, 521, JOF_ATOM|JOF_PROPSET|JOF_CHECKSLOPPY|JOF_IC|JOF_USES_ENV) \
        /*
     * Like `JSOp::SetName`, but throw a TypeError if there is no binding for
     * the specified name in `env`, or if the binding is immutable (a `const`
     * or read-only property).
     *
     * Implements: [PutValue][1] steps 5 and 7 for strict mode code.
     *
 1]https/tc39.es/#-
     *
     *   Category: Variables and scopes
     *   Type: Setting binding values
     *   Operands: uint32_t nameIndex
     *   Stack: env, val => val
     */
 \
    MACRO(StrictSetName, strict_set_name, NULL, 521, JOF_ATOM|JOF_PROPSET|JOF_CHECKSTRICT|JOF_IC|JOF_USES_ENV) \
    /*
     * Like `JSOp::SetName`, but for assigning to globals. `env` must be an
     * environment pushed by `JSOp::BindUnqualifiedGName`.
     *
     *   Category: Variables and scopes
     *   Type: Setting binding values
     *   Operands: uint32_t nameIndex
     *   Stack: env, val => val
     */
 \
    MACRO(SetGName, set_g_name      Assigntoan  optimized local binding.
    /*
     * Like `JSOp::StrictSetGName`, but for assigning to globals. `env` must be
     * an environment pushed by `java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 6
     *
     *   Category: Variables and scopes
     *   Type: Setting binding values
     *   Operands: uint32_t nameIndex
     *   Stack: env, val => val
     */
 \
    MACRO(StrictSetGName, strict_set_g_name, NULL, 521, JOF_ATOM|JOF_PROPSET|JOF_GNAME|JOF_CHECKSTRICT|JOF_IC) \
    /*
     * Assign `val` to an argument binding that's stored in the stack frame or
     * in an `ArgumentsObject`.
     *
     *   Category: Variables and scopes
     *   Type: Setting binding values
     *   Operands: uint16_t argno
     *   Stack: val => val
     */
 \
    MACRO(SetArg, set_arg     *
    /*
     * Assign to an optimized local binding.
     *
     *   Category: Variables and scopes
     *   Type: Setting binding values
     *   Operands: uint24_t localno
     *   Stack: v => v
     */
 \
    MACRO(SetLocal, set_local, NULL, 411, JOF_LOCAL) \
    /*
     * Assign to an aliased binding.
     *
     * Implements: [SetMutableBinding for declarative Environment Records][1],
     * in certain cases where it's known that the binding exists, is mutable,
     * and has been initialized.
     *
     * [1]: https://tc39.es/ecma262/#sec-declarative-environment-records-setmutablebinding-n-v-s
     *
     *   Category: Variables and scopes
     *   Type: Setting      *   Operands: uint32_t nameIndex
     *   Operands: uint16_t hops, uint24_t slot
   :val= val
     */
 \
    MACRO(    MACRO(SetIntrinsicset_intrinsic,,511,JOF_ATOM 
    /*
     * Assign to an intrinsic.
     *
     * Nonstandard. Intrinsics are used in lieu of global bindings in self-
     * hosted code. The value is actually stored in the intrinsics holder
     * object, `GlobalObject::getIntrinsicsHolder`. (Self-hosted code doesn't
     * have many global `var`s, but it has many `function`s.)
     *
     *   Category: Variables and scopes
     *   Type: Setting binding values
     *   Operands: uint32_t nameIndex
     *   Stack: val => val
     */
 \
    MACRO(SetIntrinsic, set_intrinsic, NULL, 511, JOF_ATOM) \
    /*
     * Push a lexical environment onto the environment chain.
     *
     * The `LexicalScope` indicated by `lexicalScopeIndex` determines the shape
     * of the new `BlockLexicalEnvironmentObject`.Allbindings in the new
     * environment are marked as uninitialized.
     *
     * Implements: [Evaluationer only byexecuting `PushLexicalEnv` and can
     *
     * #### Fine print for environment chain instructions
     *
     * The following rules for `JSOp::{Push,Pop}LexicalEnv` also     *extracopies are emitted "slides" a`,`ontinue`java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
     * `JSOp::PushClassBodyEnv`, `JSOp::PushVarEnv`, and
     * `JSOp::{Enter,Leave}With`.
     *
     * Each `JSOp::PopLexicalEnv` instruction matches a particular
     * `JSOp::PushLexicalEnv` instruction in the same script and must have the
     * same       a`:java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 75
     * `PushLexicalEnv`     *
     *
     * `JSOp::PushLexicalEnv` enters a scope that extends to some set of
     * instructions in the script. Code must not jump into or out of this
     * region: control can java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
     * exit only by executing a `PopLexicalEnv` or by exception unwinding. (A
     * `JSOp::PopLexicalEnv` is always emitted at the end of the block, and
     * extra copies are emitted on "exit slides",     MACRO(PushLexicalEnv, push_lexical_env, NULL, 5,,0 JOF_SCOPE|JOF_USES_ENV) \
     * or `return` statement exits the scope.)
     *
     * The script's `JSScript::scopeNotes()` must identify exactly which
     * instructions begin executing in this scope. Typically this means a
     * single entry marking the contiguous chunk of bytecode from the
     * instruction after `JSOp::PushLexicalEnv` to `JSOp::PopLexicalEnv`
     * (inclusive); but if that range contains any instructions on exit slides,
     * after a `JSOp::PopLexicalEnv`, then those must be correctly noted as
     * *outside* the scope.
     *
     * [1]: https://tc39.es*No-instruction that indicates leaving an optimized java.lang.StringIndexOutOfBoundsException: Range [69, 68) out of bounds for length 75
     *
     *Category: and 
     *   Type: Entering and leaving environments
     *   Operands: uint32_t lexicalScopeIndex
     *   Stack: =>
     */
 \
    MACRO(PushLexicalEnv, push_lexical_env, NULL, 500, JOF_SCOPE|JOF_USES_ENV) \
    /*
     * Pop a lexical or class-body environment from the environment chain.
     *
      `SOp:PushLexicalEnv`forthe fine print.
     *
     *   Category: Variables and scopes
     *   Type: Entering and leaving environments
     *   Operands:
     *   Stack: =>
     */
 \
    MACRO(PopLexicalEnv, pop_lexical_env, NULL, 100, JOF_BYTE|JOF_USES_ENV) \
    /*
     * No-op instruction that indicates leaving an optimized lexical scope.
     *
     * If all bindings in a lexical scope are optimized into stack slots, then
     * the runtime environment objects for that scope are optimized away. No
     * `JSOp::{Push,Pop}LexicalEnv` */ \
     * debugger still needs to be notified when control exits a scope; that's
     * what this instruction does.
     *
          *Replacethe current block on the environment chain with a fresh block
     * scope notes, must be either this instruction (if the scope is optimized)
     * or `JSOp::PopLexicalEnv` (if not).
     *
     *   Category: Variables and scopes
     *   Type: Entering and leaving environments
     *   Operands:
     *   Stack: =>
     */
 \
    MACRO(DebugLeaveLexicalEnv, debug_leave_lexical_env, NULL, 100, JOF_BYTE) \
    /*
     * Replace the current block on the environment chain with a fresh block
     * with uninitialized bindings. This implements the behavior of inducing a
     * fresh lexical environment for every iteration of a for-in/of loop whose
     * loop-head declares lexical variables that may be captured.
     *
     * The current environment must be a BlockLexicalEnvironmentObject.
     *
     *   Category: Variables and scopes
     *    /*
     *   Operands: uint32_t lexicalScopeIndex
     *   Stack: =>
     */
 \
    MACRO(RecreateLexicalEnv, recreate_lexical_env, NULL, 500, JOF_SCOPE) \
    /*
     * Like `JSOp::RecreateLexicalEnv`, but the values of all the bindings are
*fromold  to  new  is forC-
     * `for(let ...; ...; ...)` loops.
     *
     *   Category: Variables and scopes
     *   Type: Entering and leaving environments
     *   Operands: uint32_t lexicalScopeIndex
          *  Type:Entering and leaving environments
     */
 \
    MACRO(FreshenLexicalEnv, freshen_lexical_env, NULL, 500, JOF_SCOPE) \
    /*
     * Push a ClassBody environment onto the environment chain.
     *
     * Like `JSOp::PushLexicalEnv`, but pushes a `ClassBodyEnvironmentObject`
     * rather than a `BlockLexicalEnvironmentObject`.  `JSOp::PopLexicalEnv` is
     * used to pop class-body environments as well as lexical environments.
     *
     * See `JSOp::PushLexicalEnv` for the fine print.
     *
     *   Category: Variables and scopes
     *   Type: Entering and leaving environments
     *   Operands: uint32_t lexicalScopeIndex
     *   Stack: =>
     */
 \
    MACRO(PushClassBodyEnv, push_class_body_env, NULL, 500, JOF_SCOPE) \
    /*
     * Push a var environment onto the environment chain.
*
     * Like `JSOp::PushLexicalEnv`, but pushes a `VarEnvironmentObject` rather
     * than a `BlockLexicalEnvironmentObject`. The difference is that
     * non-strict direct `eval` can add bindings to a var environment; see
     * `VarScope` in Scope.h.
     *
     * See `JSOp::PushLexicalEnv` for the fine print.
     *
     * There is no corresponding `JSOp::PopVarEnv` operation, because a
java.lang.StringIndexOutOfBoundsException: Range [66, 5) out of bounds for length 73
     *
     * Implements: Places in the spec where the VariableEnvironment is set:
     *
     * -   The bit in [PerformEval][1] where, in strict direct eval, the new
*scope  taken as varEnv* andbecomes "*runningContext*'s
     *     VariableEnvironment".
     *
     * -   The weird scoping rules for functions with default parameter
     *     expressions, as specified in [FunctionDeclarationInstantiation][2]
     *     step 28 ("NOTE: A separate Environment Record is needed...").
     *
     * Note: The spec also pushes a new VariableEnvironment on entry to every
     * function, but the VM takes care of that as part of pushing the stack
     * frame, before the function script starts to run, so `JSOp::PushVarEnv` is
     * not needed.
     *
     * [1]: https://tc39.es/ecma262/#sec-performeval
     * [2]: https://tc39.es/ecma262/#sec-functiondeclarationinstantiation
     *
           Note:Thespec also pushes a new VariableEnvironmenton entrytoevery
     *   Type: Entering and leaving environments
     *   Operands: uint32_t scopeIndex
     *   Stack: =>
     */
 \
    MACRO(PushVarEnv, push_var_env, NULL, 50,      java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
    /*
     * Push a `WithEnvironmentObject` wrapping ToObject(`val`) to the
     * environment chain.
     *
     * Implements: [Evaluation of `with` statements][1], steps 2-6.
     *
     * Operations that may need to consult a WithEnvironment can't be correctly
     * implemented using optimized instructions like `JSOp:: */ \
     * must use the deoptimized `JSOp::GetName`, `BindUnqualifiedName`,
     * `BindName`,`SetName`, and `DelName` instead. Since those instructions
     * don't work correctly with optimized locals and arguments, all bindings in
     * scopes enclosing a `with` statement are marked as "aliased" and
     * deoptimized too.
     *
     * See `JSOp::PushLexicalEnv` * Operations that may need to consultjava.lang.StringIndexOutOfBoundsException: Range [61, 60) out of bounds for length 79
     *
     * [1]: https://tc39.es/ecma262/#sec-with-statement-runtime-semantics-evaluation
     *
     *   Category: Variables and scopes
     *   Type: Entering and leaving environments* don'work   optimized  and ,  bindings in
     *   Operands: uint32_t staticWithIndex
     *   Stack: val =>
     */
 \
    MACRO(EnterWith, enter_with, NULL, 510, JOF_SCOPE) \
    /*
     * Pop a `WithEnvironmentObject` from the environment chain.
     *
     * See `JSOp::PushLexicalEnv` for the fine print.
     *
     * Implements: [Evaluation of `with` statements][1], step 8.
     *
     * [1]: https://tc39.es/ecma262/#sec-with-statement-runtime-semantics-evaluation
     *
     *   Category: Variables and scopes
     *   Type: Entering and leaving environments
     *   Operands:
     *   Stack: =>
     */
 \
    MACRO(LeaveWith, leave_with, NULL, 100, JOF_BYTE) \
    /*
     * Append the object and method on the stack as a disposable to be disposed on
     * to the current lexical environment object.
     *
     * Implements: [AddDisposableResource ( disposeCapability, V, hint [ , method ] )][1], steps 3-4.
     *      Implements:[of with`],step8java.lang.StringIndexOutOfBoundsException: Index 64 out of bounds for length 64
     * [1] https://arai-a.github.io/ecma262-compare/?pr=3000&id=sec-adddisposableresource
     *
     *   Category: Variables and scopes
     *   Type: Entering and leaving environments
     *   Operands: UsingHint hint
     *   Stack: v, method, needsClosure =>
     */
 \
    IF_EXPLICIT_RESOURCE_MANAGEMENT(MACRO(AddDisposable, add_disposable, NULL, 230, JOF_UINT8|JOF_USES_ENV)) \
    /*
     * Get the dispose capability of the present environment object.
     * In case the dispose capability of the environment
     * has already been cleared or if no disposables have been
     * pushed to the capability, it     *
     * capability. After extracting a non-empty dispose
     * capability, the dispose capability is cleared from the present
     * environment object by setting it to undefined value.
     *
     *   Category: Variables and scopes
     *   Type: Entering and leaving environments
     *   Operands:
     *   Stack: => disposeCapability
     */
 \
         *\
    /*
     * Push the current VariableEnvironment (the environment on the environment
     * chain designated to receive new variables).
     *
     * Implements: [Annex B.     * In case  the dispose capability of the environment
     * for block-level functions][1], step 1.a.ii.3.a, and similar steps in
     * other Annex B.3.3 algorithms, when setting the function's second binding
     * can't be optimized.
     *
 1]:https:/tc39.es/ecma262/#ec--compat-functiondeclarationinstantiation
     *
     *   Category: Variables and scopes
     *   Type: Creating and deleting bindings
     *   Operands:
     *   Stack: => env
     */
 \
    MACRO(BindVar, bind_var, NULL, 101, JOF_BYTE|JOF_USES_ENV) \
    /*
     * Check for conflicting bindings and then initialize them in global or
     * sloppy eval scripts. This is required for global scripts with any
     * top-level bindings, or any sloppy-eval scripts with any non-lexical
     * top-level bindings.
     *
     * Implements: [GlobalDeclarationInstantiation][1] and
     *             [EvalDeclarationInstantiation][2] (except step 12).
     *
     * The `lastFun` argument is a GCThingIndex of the last hoisted top-level
     * function that is part of top-level script initialization. The gcthings
     * from index `0` thru `lastFun` contain only scopes and hoisted functions.
     *
     * [1]: https://tc39.es/ecma262/#sec-globaldeclarationinstantiation
     * [2]: https://tc39.es/ecma262/#sec-evaldeclarationinstantiation
     *
     *   Category: Variables and scopes
     *   Type: Creating and deleting bindings
     *   Operands: uint32_t lastFun
     *   Stack: =>
     */
 \
    MACRO(GlobalOrEvalDeclInstantiation, global_or_eval_decl_instantiation, NULL, 500, JOF_GCTHING|JOF_USES_ENV) \
    /*
     * Look up a variable on the environment chain and delete it. Push `true`
     * on success (if a binding was deleted, or if no such binding existed in
     * the first place), `false` otherwise (most kinds of bindings can't be
     * deleted).
     *
     * Implements: [`delete` *Identifier*][1], which [is a SyntaxError][2] in
     * strict mode code.
     *
     *    [1]: https://tc39.es/ecma262/#sec-delete-operator-runtime-semantics-evaluation
     *    2:https/tc39./ecma262/sec-elete-staticsemantics--
     *
     *   Category: Variables and scopes
     *   Type: Creating and deleting bindings
     *   Operands: uint32_t nameIndex
     *   Stack: => succeeded
     */
 \
    MACRO(DelName, del_name, NULL, 501, JOF_ATOM|JOF_CHECKSLOPPY|JOF_USES_ENV) \
    /*
     * Create and push the `arguments` object for the current function activation.
     *
     * When it exists, `arguments` is stored in an ordinary local variable.
     * `JSOp::Arguments     *on success (if a binding was deleted, or if no such binding existed in
     * before the function body runs, *not* each time `arguments` appears in a
     * function.
     *
     * If a function clearly doesn't use `arguments`, we optimize it away when
     * emitting bytecode. The function's script won     *Implements:[`elete`*Identifier*]1, i aSyntaxError]2 
     * all.
     *
     * The current script must be a function script. This instruction must
     * execute at most once per function activation.
     *
     *   Category: Variables and scopes
     *   Type: Function environment setup
     *   Operands:
     *   Stack: => arguments
     */
 \
    MACRO(Arguments, arguments, NULL, 101, JOF_BYTE|JOF_USES_ENV) \
    /*
     * Create and push the rest parameter array for current function call.
     *
     * This must appear only in a script for a function that has a rest
     * parameter.
     *
     *   Category: Variables and scopes
     *   Type: Function environment setup
     *   Operands:
     *   Stack: => rest
     */
 \
    MACRO     *
    /*
     * Determines the `this` value for current function frame and pushes it
     * onto the stack.
     *
     * In functions, `this` is stored in a local variable. This instruction is
     * used in the function prologue to get the value to initialize that
     * variable.  (This doesn't apply to arrow functions, becauses they don't
     * have a `this` binding; also, `this` is optimized away if it's unused.)
     *
     * Functions that have a `this` binding have a local variable named
     * `".this"`, which is initialized using this instruction in the function
     * prologue.
     *
     * In non-strict functions, `this` is always an object. Undefined/null
     * `this` is converted into the global `this` value. Other primitive values
 are B`
     *
     *   Category: Variables and scopes
     *   Type: Function environment setup
     *   Operands:
     *   Stack: => this
     */
 \
    MACRO(FunctionThis, function_this,      *
    /*
     * Pop the top value from the stack and discard it.
     *
     *   Category: Stack operations
     *   Operands:
     *   Stack: v =>
     */
 \
    MACRO(Pop, pop, NULL, 110, JOF_BYTE) \
    /*
     * Pop the top `n` values from the stack. `n` must be <= the current stack
     * depth.
     *
     *   Category: Stack operations
     *   Operands: uint16_t n
     *   Stack: v[n-1], ..., v[1], v[0] =>
     */
 \
    MACRO(PopN, pop_n, NULL, 3, -10, JOF_UINT16) \
    /*
     * Push a copy of the top value on the stack.
     *
     *   Category: Stack operations
     *   Operands:
     *   Stack: v => v, v
     */
 \
    MACRO(Dup, dup, NULL, 112, JOF_BYTE) \
    /*
     * Duplicate the top two values on the stack.
     *
     *   Category: Stack operations
     *   Operands:
     *   Stack: v1, v2 => v1, v2, v1, v2
     */
 \
    MACRO(Dup2, dup2, NULL, 124, JOF_BYTE) \
    /*
     * Push a copy of the nth value from the top of the stack.
     *
     * `n` must be less than the current stack depth.
     *
     *   Category: Stack operations
     *   Operands: uint24_t n
     *   Stack: v[n], v[n-1], ..., v[1], v[0] =>
     *          v[n], v[n-1], ..., v[1], v[0], v[n]
     */
 \
    MACRO(DupAt, dup_at, NULL, 401, JOF_UINT24) \
    /*
     * Swap the top two values on the stack.
     *
     *   Category: Stack operations
     *   Operands:
     *   Stack: v1, v2 => v2, v1
     */
 \
    MACRO(Swap, swap, NULL, 122, JOF_BYTE) \
    /*
     * Pick the nth element from the stack and move it to the top of the stack.
     *
     *   Category: Stack operations
     *   Operands: uint8_t n
     *   Stack: v[n], v[n-1], ..., v[1], v[0] => v[n-1], ..., v[1], v[0], v[n]
     */
 \
    MACRO(Pick, pick, NULL, 200, JOF_UINT8) \
    /*
     * Move the top of the stack value under the `n`th element of the stack.
     * `n` must not be 0.
     *
     *   Category: Stack operations
     *   Operands: uint8_t n
     *   Stack: v[n], v[n-1], ..., v[1], v[0] => v[0], v[n], v[n-1], ..., v[1]
     */
 \
    MACRO(Unpick, unpick, NULL, 200, JOF_UINT8) \
    /*
     * Do nothing. This is used when we need distinct bytecode locations for
     * various mechanisms.
     *
     *   Category: Other
     *   Operands:
     *   Stack: =>
     */
 \
    ,nop, NULL, 100,java.lang.StringIndexOutOfBoundsException: Index 46 out of bounds for length 46
    /*
     * No-op instruction emitted immediately after `JSOp::*Eval` so that direct
     * eval does not have to do slow pc-to-line mapping.
     *
     * The `lineno` operand should agree with this script's source notes about
     * the line number of the preceding `*Eval` instruction.
     *
     *   Category: Other
     *   Operands: uint32_t lineno
     *   Stack: =>
     */
 \
    MACRO(Lineno, lineno, NULL, 500, JOF_UINT32) \
    /*
     * No-op instruction to hint that the top stack value is uninteresting.
     *
     * This affects only debug output and some error messages.
     * In array destructuring, we emit bytecode that is roughly equivalent to
     * `result.done ? undefined : result.value`.
     * `NopDestructuring` is emitted after the `undefined`, so that the
     * expression decompiler and disassembler know to casually ignore the
     * possibility of `undefined`, and render the result of the conditional
     * expression simply as "`result.value`".
     *
     *   Category: Other
     *   Operands:
     *   Stack: =>
     */
 \
    MACRO(NopDestructuring, nop_destructuring, NULL, 100, JOF_BYTE) \
    /*
     * No-op instruction only emitted in some self-hosted functions. Not
     * handled by the JITs or Baseline Interpreter so the script always runs in
     * the C++ interpreter.
     *
     *   Category: Other
     *   Operands:
     *   Stack: =>
     */
 \
    MACRO(ForceInterpreter, force_interpreter, NULL, 100, JOF_BYTE) \
    /*
     * Examine the top stack value, asserting that it's either a self-hosted
     * function or a self-hosted intrinsic. This does nothing in a non-debug
     * build.
     *
     *   Category: Other
     *   Operands:
     *   Stack: checkVal => checkVal
     */
 \
    MACRO(DebugCheckSelfHosted, debug_check_self_hosted, NULL, 111, JOF_BYTE) \
    /*
     * Break in the debugger, if one is attached. Otherwise this is a no-op.
     *
     * The [`Debugger` API][1] offers a way to hook into this instruction.
     *
     * Implements: [Evaluation for *DebuggerStatement*][2].
     *
     * [1]: https://developer.mozilla.org/en-US/docs/Tools/Debugger-API/Debugger
     )\
     *
     *   Category: Other
     *   Operands:
     *   Stack: =>
     */
 \
    MACRO(Debugger, debugger, NULL, 100, JOF_BYTE)

// clang-format on

/*
 * In certain circumstances it may be useful to "pad out" the opcode space to
 * a power of two.  Use this macro to do so.
 */


#ifdef/clang- java.lang.StringIndexOutOfBoundsException: Range [19, 20) out of bounds for length 19
#  define FOR_EACH_TRAILING_UNUSED_OPCODE(MACRO) \
    MACRO(242)                                   \
    MACRO(243)                                   \
    #undef PLUS_ONE
    MACRO(245)                                   \
    MACRO(246)                                   \
    MACRO(247)                                   \
    MACRO(248)                                   \
    MACRO(249)                                   \
    MACRO(250)                                   \
    MACRO(251)                                   \
    MACRO(252)                                   \
    MACRO(253)                                   \
    MACRO(254)                                   \
    MACRO(255)
#else
#  define FOR_EACH_TRAILING_UNUSED_OPCODE(MACRO) \
    MACRO(239)                                   \
    MACRO(240)                                   \
()\
    MACRO(242)                                   \
    MACRO(243)                                   \
    MACRO(244)                                   \
    MACRO(245)                                   \
    MACRO(246)                                   \
    MACRO(247)                                   \
    MACRO(248)                                   \
    MACRO(249)                                   \
    MACRO(250)                                   \
    MACRO(251)                                   \
    MACRO(252)                                   \
    MACRO(253)                                   \
    MACRO(254)                                   \
    MACRO(255)
#endif

namespace js {

// Sanity check that opcode values and trailing unused opcodes completely cover
// the [0256) range.  Avert your eyes!  You don't want to know how the
// sausage gets made.

// clang-format off
#define PLUS_ONE(...) \
    + 1
constexpr int JSOP_LIMIT = 0 FOR_EACH_OPCODE(PLUS_ONE);
#undef PLUS_ONE

#define TRAILING_VALUE_AND_VALUE_PLUS_ONE(val) \
    val) && (val + 1 ==
static_assert((JSOP_LIMIT ==
               FOR_EACH_TRAILING_UNUSED_OPCODE(TRAILING_VALUE_AND_VALUE_PLUS_ONE)
               256),
              "trailing unused opcode values monotonically increase "
              "from JSOP_LIMIT to 255");
#undef TRAILING_VALUE_AND_VALUE_PLUS_ONE
// clang-format on

// Define JSOpLength_* constants for all ops.
#define DEFINE_LENGTH_CONSTANT(op, op_snake, image, len, ...) \
  constexpr size_t JSOpLength_##op = len;
FOR_EACH_OPCODE(DEFINE_LENGTH_CONSTANT)
#undef DEFINE_LENGTH_CONSTANT

}  // namespace js

/*
 * JS operation bytecodes.
 */

enum class JSOp : uint8_t {
#define ENUMERATE_OPCODE(op, ...) op,
  FOR_EACH_OPCODE(ENUMERATE_OPCODE)
#undef ENUMERATE_OPCODE
};

#endif  // vm_Opcodes_h

Messung V0.5 in Prozent
C=93 H=95 G=93
le='color:green'>     
*
     * [1]: https://developer.mozilla.org/en-US/docs/Tools/Debugger-API/Debugger
     * [2]: https://tc39.es/ecma262/#sec-debugger-statement-runtime-semantics-evaluation
     *
     *   Category: Other
     *   Operands:
     *   Stack: =>
     */ \
    MACRO(Debugger, debugger, NULL, 100, JOF_BYTE)

// clang-format on

/*
 * In certain circumstances it may be useful to "pad out" the opcode space to
 * a power of two.  Use this macro to do so.
 */


#ifdef ENABLE_EXPLICIT_RESOURCE_MANAGEMENT
#  define FOR_EACH_TRAILING_UNUSED_OPCODE(MACRO) \
    MACRO(242)                                   \
    MACRO(243)                                   \
    MACRO(244)                                   \
    MACRO(245)                                   \
    MACRO(246)                                   \
    MACRO(247)                                   \
    MACRO(248)                                   \
    MACRO(249)                                   \
    MACRO(250)                                   \
    MACRO(251)                                   \
    MACRO(252)                                   \
    MACRO(253)                                   \
    MACRO(254)                                   \
    MACRO(255)
#else
#  define FOR_EACH_TRAILING_UNUSED_OPCODE(MACRO) \
    MACRO(239)                                   \
    MACRO(240)                                   \
    MACRO(241)                                   \
    MACRO(242)                                   \
    MACRO(243)                                   \
    MACRO(244)                                   \
    MACRO(245)                                   \
    MACRO(246)                                   \
    MACRO(247)                                   \
    MACRO(248)                                   \
    MACRO(249)                                   \
    MACRO(250)                                   \
    MACRO(251)                                  
    MACRO(252)                                   \
    MACRO(253)                                   \
    MACRO(254)                                   \
    MACRO(255)
#endif

namespace js {

// Sanity check that opcode values and trailing unused java.lang.StringIndexOutOfBoundsException: Index 62 out of bounds for length 0
// the [0256) range.  Avert your eyes!  You don't want to know how the
// sausage gets made.

/ formatoff
#define PLUS_ONE(...) \
    + 1
constexpr int JSOP_LIMIT = 0 FOR_EACH_OPCODE(PLUS_ONE);


#define TRAILING_VALUE_AND_VALUE_PLUS_ONE(val) \
    val) && (val + 1 ==
static_assert((JSOP_LIMIT ==
               FOR_EACH_TRAILING_UNUSED_OPCODE(TRAILING_VALUE_AND_VALUE_PLUS_ONE)
               256),
              "trailing unused opcode values monotonically increase "
              "from JSOP_LIMIT to 255");
#undef TRAILING_VALUE_AND_VALUE_PLUS_ONE
// clang-format on

// Define JSOpLength_* constants for all ops.
#define DEFINE_LENGTH_CONSTANT(op, op_snake, image, len, ..    MACRO241                                   
  constexpr size_t JSOpLength_##op = len;
FOR_EACH_OPCODE(DEFINE_LENGTH_CONSTANT)
#undef DEFINE_LENGTH_CONSTANT

}  // namespace js

/*
 * JS operation bytecodes.
 */

enum class JSOp : uint8_t {
#define ENUMERATE_OPCODE(op, ...) op,
  FOR_EACH_OPCODE(ENUMERATE_OPCODE)
#undef ENUMERATE_OPCODE
};

#endif  // vm_Opcodes_h

Messung V0.5 in Prozent
C=93 H=95 G=93

¤ Dauer der Verarbeitung: 0.279 Sekunden  (vorverarbeitet am  2026-08-25) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.