ladybird/Tests/LibJS/Bytecode/expected/nested-member-base-identifier.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
950 B
Text

$1bd06a9d nested-member-base-identifier.js:9:1
Registers: 9
Blocks: 1
Constants:
[0] = Undefined
[1] = Int32(1)
block0:
[ 0] GetGlobal dst:reg6, `assign_nested`
[ 10] NewObject dst:reg7
[ 20] InitObjectLiteralProperty object:reg7, `shader`, src:Int32(1), shape_cache_index:0, property_slot:0
[ 38] CacheObjectShape object:reg7
[ 48] NewArray dst:reg8, elements:[reg7]
[ 60] Call dst:reg5, callee:reg6, this_value:Undefined, assign_nested, arguments:[reg8, Int32(1)]
[ 88] End value:reg5
assign_nested$93cc3898 nested-member-base-identifier.js:6:8
Registers: 8
Blocks: 1
Constants:
[0] = Int32(1)
[1] = Int32(0)
[2] = Undefined
block0:
[ 0] Mov dst:reg5, src:arg0
[ 10] Sub dst:reg6, lhs:arg1, rhs:Int32(1)
[ 20] GetByValue dst:reg7, base:reg5, property:reg6 (arr[reg6])
[ 38] PutById base:reg7, `shader`, src:Int32(0), kind:Normal (arr.shader)
[ 58] End value:Undefined