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
521 B
Text
14 lines
521 B
Text
$e7eb680d class-lhs-name-no-createvariable.js:1:1
|
|
Registers: 7
|
|
Blocks: 1
|
|
Constants:
|
|
[0] = String("method")
|
|
[1] = Undefined
|
|
|
|
block0:
|
|
[ 0] GetLexicalEnvironment dst:reg4
|
|
[ 8] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:0, is_catch_environment:false
|
|
[ 20] SetLexicalEnvironment environment:reg4
|
|
[ 28] NewClass dst:reg6, class_environment:reg5, class_blueprint_index:0 (x), element_keys:[element_keys:String("method")]
|
|
[ 50] SetGlobal `x`, src:reg6
|
|
[ 60] End value:Undefined
|