ladybird/Tests/LibJS/Bytecode/expected/baseline.txt
Andreas Kling 029708b2cf Tests: Rebaseline bytecode tests after handler/finalizer collapse
The exception handler dump format changed from showing both handler
and finalizer offsets to showing only a single handler offset.
2026-02-09 16:35:39 +01:00

15 lines
No EOL
618 B
Text

JS bytecode executable ""
[ 0] 0: GetLexicalEnvironment dst:reg4
[ 8] GetGlobal dst:reg6, identifier:console
[ 18] GetById dst:reg7, base:reg6, property:log, base_identifier:console
[ 30] GetGlobal dst:reg9, identifier:add
[ 40] Call dst:reg8, callee:reg9, this_value:Undefined, add, arguments:[Int32(1), Int32(2)]
[ 68] Call dst:reg5, callee:reg7, this_value:reg6, console.log, arguments:[reg8]
[ 90] End value:reg5
JS bytecode executable "add"
[ 0] 0: GetLexicalEnvironment dst:reg4
[ 8] Add dst:reg5, lhs:arg0, rhs:arg1
[ 18] Return value:reg5
3