Files
ladybird/Tests/LibJS/Bytecode/expected/default-param-self-reference.txt
Andreas Kling bc4379983f LibJS: Improve bytecode executable dump format
Add a metadata header showing register count, block count, local
variable names, and the constants table. Resolve jump targets to
block labels (e.g. "block1") instead of raw hex addresses, and add
visual separation between basic blocks.

Make identifier and property key formatting more concise by using
backtick quoting and showing base_identifier as a trailing
parenthetical hint that joins the base and property names.

Generate a stable name for each executable by hashing the source
text it covers (stable across codegen changes). Named functions
show as "foo$9beb91ec", anonymous ones as "$43362f3f". Also show
the source filename, line, and column.
2026-03-20 00:51:23 -05:00

33 lines
719 B
Plaintext

$bfb1383b default-param-self-reference.js:2:1
Registers: 7
Blocks: 1
Constants:
[0] = Undefined
[1] = Int32(1)
block0:
[ 0] GetLexicalEnvironment dst:reg4
[ 8] GetGlobal dst:reg6, `f`
[ 20] Call dst:reg5, callee:reg6, this_value:Undefined, f, arguments:[Int32(1)]
[ 48] End value:reg5
f$e162c485 default-param-self-reference.js:1:16
Registers: 5
Blocks: 3
Constants:
[0] = <Empty>
[1] = Undefined
block0:
[ 0] GetLexicalEnvironment dst:reg4
[ 8] JumpUndefined condition:arg0, true_target:block1, false_target:block2
block1:
[ 18] Mov dst:arg0, src:<Empty>
[ 28] ThrowIfTDZ src:arg0
[ 30] Mov dst:arg0, src:arg0
block2:
[ 40] End value:Undefined