Files
ladybird/Tests/LibJS/Bytecode/expected/argument-postfix-self-move.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
420 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, arguments:[Int32(10)]
[ 40] End value:reg5
JS bytecode executable "f"
[ 0] 0: GetLexicalEnvironment dst:reg4
[ 8] PostfixDecrement dst:reg5, src:arg0
[ 18] Mov dst:arg0, src:arg0
[ 28] Return value:arg0