Files
ladybird/Tests/LibJS/Bytecode/expected/class-computed-key.txt
Andreas Kling fdd7809bd1 Tests/LibJS: Add a big pile of AST, bytecode, and runtime tests
Created these while experimenting with LibJS. Might as well bring them
into the tree and increase our coverage.
2026-02-17 20:44:57 +01:00

16 lines
778 B
Plaintext

JS bytecode executable ""
[ 0] 0: GetLexicalEnvironment dst:reg4
[ 8] GetGlobal dst:reg6, identifier:f
[ 18] Call dst:reg5, callee:reg6, this_value:Undefined, f
[ 38] End value:reg5
JS bytecode executable "f"
[ 0] 0: GetLexicalEnvironment dst:reg4
[ 8] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:0
[ 18] CreateVariable identifier:, is_immutable:true, is_global:false, is_strict:false
[ 28] GetGlobal dst:reg6, identifier:Symbol
[ 38] GetById dst:reg7, base:reg6, property:iterator, base_identifier:Symbol
[ 50] SetLexicalEnvironment environment:reg4
[ 58] NewClass dst:reg6, class_environment:reg5, class_blueprint_index:0, element_keys:[element_keys:reg7]
[ 80] Return value:reg6