ladybird/Tests/LibJS/Bytecode/expected/call-spread-register-order.txt
Andreas Kling 21cbfb3cb1 LibJS: Drop source ranges from bytecode source maps
Store source map locations as bytecode offset, line, and column.
Runtime consumers only emit the start line and column, so source end
positions and source text offsets do not need to be carried through
Executable source maps, bytecode cache serialization, or the Rust FFI.

Keep SourceCode's internal position cache able to track source text
offsets so callers can still translate source offsets to line and
column pairs when needed. Hash dump-bytecode IDs from the name, first
source position, and bytecode size instead of source slices that need
end offsets.

Bump the bytecode cache format version for the slimmer serialized
source map entry shape.
2026-05-14 09:41:03 +02:00

25 lines
589 B
Text

$973653fe call-spread-register-order.js:2:1
Registers: 10
Blocks: 1
Constants:
[0] = Undefined
[1] = Int32(42)
block0:
[ 0] GetGlobal dst:reg6, `f`
[ 18] Mov dst:reg8, src:Int32(42)
[ 28] NewArray dst:reg7, elements:[reg8]
[ 40] NewPrimitiveArray dst:reg9, elements:[1]
[ 58] ArrayAppend dst:reg7, src:reg9, is_spread:true
[ 68] CallWithArgumentArray dst:reg5, callee:reg6, this_value:Undefined, arguments:reg7, f
[ 80] End value:reg5
f$7aaaa003
Registers: 5
Blocks: 1
Constants:
[0] = Undefined
block0:
[ 0] End value:Undefined