ladybird/Tests/LibJS/Bytecode/expected/invalid-lhs-assignment-no-dead-code.txt
Andreas Kling 1ce4242b4b LibJS: Store bytecode cache indexes instead of pointers
Store compact cache indexes in bytecode instructions instead of raw
pointers to the executable cache vectors. This keeps the instruction
stream independent from heap addresses and removes pointer fixups when
materializing cached bytecode.

Resolve the mutable cache pointers at execution time from the current
Executable. Bytecode test expectations are updated for the smaller cache
operands and resulting instruction offsets.
2026-05-18 20:35:14 +02:00

48 lines
1.1 KiB
Text

$2c4e495c 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`
[ 60] NewFunction dst:reg9, shared_function_data_index:0
[ 78] Call dst:reg6, callee:reg8, this_value:Undefined, f, arguments:[reg9]
[ a0] Mov2 dst1:reg5, src1:reg6, dst2:reg6, src2:reg5
[ b8] End value:reg6
Exception handlers:
[ 40 .. c0] => 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