ladybird/Tests/LibJS/Bytecode/expected/default-param-self-reference.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

30 lines
639 B
Text

$3703a836 default-param-self-reference.js:2:1
Registers: 7
Blocks: 1
Constants:
[0] = Undefined
[1] = Int32(1)
block0:
[ 0] GetGlobal dst:reg6, `f`
[ 10] Call dst:reg5, callee:reg6, this_value:Undefined, f, arguments:[Int32(1)]
[ 38] End value:reg5
f$d753a0ea default-param-self-reference.js:1:16
Registers: 5
Blocks: 3
Constants:
[0] = <Empty>
[1] = Undefined
block0:
[ 0] JumpUndefined condition:arg0, true_target:block1, false_target:block2
block1:
[ 10] Mov dst:arg0, src:<Empty>
[ 20] ThrowIfTDZ src:arg0
[ 28] Mov dst:arg0, src:arg0
block2:
[ 38] End value:Undefined