ladybird/Tests/LibJS/Bytecode/expected/argument-variables.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

31 lines
695 B
Text

$495ef8a0 argument-variables.js:12:1
Registers: 8
Blocks: 1
Constants:
[0] = Undefined
[1] = Int32(1)
[2] = Int32(2)
block0:
[ 0] GetGlobal dst:reg6, `identity`
[ 10] Call dst:reg5, callee:reg6, this_value:Undefined, identity, arguments:[Int32(1)]
[ 38] GetGlobal dst:reg7, `swap`
[ 48] Call dst:reg6, callee:reg7, this_value:Undefined, swap, arguments:[Int32(1), Int32(2)]
[ 70] End value:reg6
identity$753f961b argument-variables.js:5:5
Registers: 5
Blocks: 1
block0:
[ 0] Return value:arg0
swap$556fb42c argument-variables.js:9:5
Registers: 6
Blocks: 1
block0:
[ 0] Add dst:reg5, lhs:arg1, rhs:arg0
[ 10] Return value:reg5