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.
21 lines
467 B
Text
21 lines
467 B
Text
$12cfcca1 argument-postfix-self-move.js:5:1
|
|
Registers: 7
|
|
Blocks: 1
|
|
Constants:
|
|
[0] = Undefined
|
|
[1] = Int32(10)
|
|
|
|
block0:
|
|
[ 0] GetGlobal dst:reg6, `f`
|
|
[ 10] Call dst:reg5, callee:reg6, this_value:Undefined, f, arguments:[Int32(10)]
|
|
[ 38] End value:reg5
|
|
|
|
|
|
f$833b82e7 argument-postfix-self-move.js:2:6
|
|
Registers: 6
|
|
Blocks: 1
|
|
|
|
block0:
|
|
[ 0] PostfixDecrement dst:reg5, src:arg0
|
|
[ 10] Mov dst:arg0, src:arg0
|
|
[ 20] Return value:arg0
|