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.
15 lines
616 B
Text
15 lines
616 B
Text
$7ba8b0ff string-from-char-code-builtin.js:3:1
|
|
Registers: 9
|
|
Blocks: 1
|
|
Constants:
|
|
[0] = Int32(65)
|
|
[1] = Int32(66)
|
|
|
|
block0:
|
|
[ 0] GetGlobal dst:reg6, `String`
|
|
[ 10] GetById dst:reg7, base:reg6, `fromCharCode` (String.fromCharCode)
|
|
[ 28] CallBuiltinStringFromCharCode dst:reg5, callee:reg7, this_value:reg6, argument:Int32(65), String.fromCharCode
|
|
[ 40] GetGlobal dst:reg6, `String`
|
|
[ 50] GetById dst:reg8, base:reg6, `fromCharCode` (String.fromCharCode)
|
|
[ 68] Call dst:reg7, callee:reg8, this_value:reg6, String.fromCharCode, arguments:[Int32(65), Int32(66)]
|
|
[ 90] End value:reg7
|