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
502 B
Text
22 lines
502 B
Text
$2b997e90 bitwise-numeric-preconvert.js:4:1
|
|
Registers: 7
|
|
Blocks: 1
|
|
Constants:
|
|
[0] = Undefined
|
|
[1] = Int32(1)
|
|
|
|
block0:
|
|
[ 0] GetGlobal dst:reg6, `test`
|
|
[ 10] Call dst:reg5, callee:reg6, this_value:Undefined, test, arguments:[Int32(1)]
|
|
[ 38] End value:reg5
|
|
|
|
|
|
test$e718c164 bitwise-numeric-preconvert.js:2:5
|
|
Registers: 6
|
|
Blocks: 1
|
|
Constants:
|
|
[0] = Int32(-2147483648)
|
|
|
|
block0:
|
|
[ 0] RightShift dst:reg5, lhs:Int32(-2147483648), rhs:arg0
|
|
[ 10] Return value:reg5
|