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.
14 lines
381 B
Text
14 lines
381 B
Text
$28d58d80 numeric-property-key.js:4:1
|
|
Registers: 6
|
|
Blocks: 1
|
|
Constants:
|
|
[0] = Int32(20)
|
|
[1] = Int32(3)
|
|
[2] = Undefined
|
|
|
|
block0:
|
|
[ 0] NewObject dst:reg5
|
|
[ 10] ToPrimitiveWithStringHint dst:Int32(20), value:Int32(20)
|
|
[ 20] PutByValue base:reg5, property:Int32(20), src:Int32(3), kind:Own
|
|
[ 38] SetGlobal `obj`, src:reg5
|
|
[ 48] End value:Undefined
|