Files
ladybird/Tests/LibJS/Bytecode/expected/named-function-expression.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

12 lines
620 B
Plaintext

JS bytecode executable ""
[ 0] 0: GetLexicalEnvironment dst:reg4
[ 8] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:0
[ 18] CreateVariable identifier:Oops, is_immutable:true, is_global:false, is_strict:false
[ 28] NewFunction dst:reg6, shared_function_data_index:0
[ 40] InitializeLexicalBinding identifier:Oops, src:reg6
[ 58] SetLexicalEnvironment environment:reg4
[ 60] SetGlobal identifier:Oops, src:reg6
[ 70] GetGlobal dst:reg5, identifier:Oops
[ 80] GetById dst:reg7, base:reg5, property:x, base_identifier:Oops
[ 98] End value:reg7