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.
22 lines
456 B
Text
22 lines
456 B
Text
$12cfcca1 right-shift-by-zero.js:5:1
|
|
Registers: 7
|
|
Blocks: 1
|
|
Constants:
|
|
[0] = Undefined
|
|
[1] = Double(1.5)
|
|
|
|
block0:
|
|
[ 0] GetGlobal dst:reg6, `foo`
|
|
[ 10] Call dst:reg5, callee:reg6, this_value:Undefined, foo, arguments:[Double(1.5)]
|
|
[ 38] End value:reg5
|
|
|
|
|
|
foo$962620dc right-shift-by-zero.js:2:5
|
|
Registers: 6
|
|
Blocks: 1
|
|
Constants:
|
|
[0] = Int32(0)
|
|
|
|
block0:
|
|
[ 0] ToInt32 dst:reg5, value:arg0
|
|
[ 10] Return value:reg5
|