ladybird/Tests/LibJS/Bytecode/expected/local-source-order.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

26 lines
691 B
Text

$546ebce0 local-source-order.js:12:1
Registers: 7
Blocks: 1
Constants:
[0] = Undefined
block0:
[ 0] GetGlobal dst:reg6, `source_order_locals`
[ 10] Call dst:reg5, callee:reg6, this_value:Undefined, source_order_locals
[ 30] End value:reg5
source_order_locals$4b1aeb83 local-source-order.js:6:5
Registers: 7
Blocks: 1
Locals: zebra~0, yak~1, aardvark~2
Constants:
[0] = Int32(1)
[1] = Int32(2)
[2] = Int32(3)
block0:
[ 0] Mov3 dst1:zebra~0, src1:Int32(1), dst2:yak~1, src2:Int32(2), dst3:aardvark~2, src3:Int32(3)
[ 20] Add dst:reg5, lhs:zebra~0, rhs:yak~1
[ 30] Add dst:reg6, lhs:reg5, rhs:aardvark~2
[ 40] Return value:reg6