ladybird/Tests/LibJS/Bytecode/expected/invalid-lhs-assignment-no-dead-code.txt
Andreas Kling a31c2c388b LibJS: Stop persisting basic_block_start_offsets on Executable
Keep basic block offsets as construction-only metadata rather than
storing them on every Executable. The validator now receives the offsets
through a transient Rust FFI span, and the bytecode dump rebuilds block
starts by scanning labels, terminators, and exception handler metadata.

Drop the table from the bytecode cache format and bump the format
version so old caches are rebuilt. This removes a field that was only
used by validation and bytecode dump paths.
2026-05-14 12:08:12 +02:00

48 lines
1.1 KiB
Text

$aaec50d4 invalid-lhs-assignment-no-dead-code.js:8:1
Registers: 10
Blocks: 3
Constants:
[0] = Undefined
block0:
[ 0] GetLexicalEnvironment dst:reg4
[ 8] Jump target:block2
block1:
[ 10] Catch dst:reg5
[ 18] SetLexicalEnvironment environment:reg4
[ 20] Mov2 dst1:reg6, src1:Undefined, dst2:reg7, src2:reg6
[ 38] End value:reg6
block2:
[ 40] Mov dst:reg5, src:Undefined
[ 50] GetGlobal dst:reg8, `f`
[ 68] NewFunction dst:reg9, shared_function_data_index:0
[ 80] Call dst:reg6, callee:reg8, this_value:Undefined, f, arguments:[reg9]
[ a8] Mov2 dst1:reg5, src1:reg6, dst2:reg6, src2:reg5
[ c0] End value:reg6
Exception handlers:
[ 40 .. c8] => handler block1
f$36958900 invalid-lhs-assignment-no-dead-code.js:5:6
Registers: 6
Blocks: 1
Constants:
[0] = Undefined
block0:
[ 0] Call dst:reg5, callee:arg0, this_value:Undefined, x
[ 20] NewReferenceError dst:reg5, Invalid left-hand side in assignment
[ 30] Throw src:reg5
$ccf7ed9d
Registers: 5
Blocks: 1
Constants:
[0] = Undefined
block0:
[ 0] End value:Undefined