Store source map locations as bytecode offset, line, and column. Runtime consumers only emit the start line and column, so source end positions and source text offsets do not need to be carried through Executable source maps, bytecode cache serialization, or the Rust FFI. Keep SourceCode's internal position cache able to track source text offsets so callers can still translate source offsets to line and column pairs when needed. Hash dump-bytecode IDs from the name, first source position, and bytecode size instead of source slices that need end offsets. Bump the bytecode cache format version for the slimmer serialized source map entry shape.
127 lines
4 KiB
Text
127 lines
4 KiB
Text
$f2f04dd8 destructuring-assignment.js:28:1
|
|
Registers: 8
|
|
Blocks: 1
|
|
Constants:
|
|
[0] = Undefined
|
|
|
|
block0:
|
|
[ 0] GetGlobal dst:reg6, `array_destructuring_with_class_default`
|
|
[ 18] Call dst:reg5, callee:reg6, this_value:Undefined, array_destructuring_with_class_default
|
|
[ 38] GetGlobal dst:reg7, `object_destructuring_with_function_default`
|
|
[ 50] Call dst:reg6, callee:reg7, this_value:Undefined, object_destructuring_with_function_default
|
|
[ 70] GetGlobal dst:reg7, `setter_parameter_resolution`
|
|
[ 88] Call dst:reg5, callee:reg7, this_value:Undefined, setter_parameter_resolution
|
|
[ a8] End value:reg5
|
|
|
|
|
|
array_destructuring_with_class_default$28ef14a9 destructuring-assignment.js:6:10
|
|
Registers: 13
|
|
Blocks: 7
|
|
Locals: x~0
|
|
Constants:
|
|
[0] = Undefined
|
|
[1] = Bool(false)
|
|
|
|
block0:
|
|
[ 0] GetLexicalEnvironment dst:reg4
|
|
[ 8] Mov dst:x~0, src:Undefined
|
|
[ 18] NewArray dst:reg5, elements:[Undefined]
|
|
[ 30] Mov dst:reg6, src:Bool(false)
|
|
[ 40] GetIterator dst_iterator_object:reg7, dst_iterator_next:reg8, dst_iterator_done:reg9, iterable:reg5
|
|
[ 58] IteratorNextUnpack dst_value:reg10, dst_done:reg6, iterator_object:reg7, iterator_next:reg8, iterator_done:reg9
|
|
[ 70] JumpFalse condition:reg6, target:block2
|
|
|
|
block1:
|
|
[ 80] Mov dst:reg10, src:Undefined
|
|
[ 90] Jump target:block2
|
|
|
|
block2:
|
|
[ 98] JumpUndefined condition:reg10, true_target:block3, false_target:block4
|
|
|
|
block3:
|
|
[ a8] CreateLexicalEnvironment dst:reg11, parent:reg4, capacity:0
|
|
[ b8] CreateVariable `C`, is_immutable:true, is_global:false, is_strict:false
|
|
[ c8] SetLexicalEnvironment environment:reg4
|
|
[ d0] NewClass dst:reg12, class_environment:reg11, class_blueprint_index:0
|
|
[ f0] Mov dst:reg10, src:reg12
|
|
|
|
block4:
|
|
[ 100] Mov dst:x~0, src:reg10
|
|
[ 110] JumpFalse condition:reg6, target:block6
|
|
|
|
block5:
|
|
[ 120] Return value:x~0
|
|
|
|
block6:
|
|
[ 128] IteratorClose iterator_object:reg7, iterator_next:reg8, iterator_done:reg9, completion_value:Undefined
|
|
[ 140] Return value:x~0
|
|
|
|
|
|
object_destructuring_with_function_default$497a8092 destructuring-assignment.js:12:12
|
|
Registers: 8
|
|
Blocks: 3
|
|
Locals: x~0
|
|
Constants:
|
|
[0] = Undefined
|
|
|
|
block0:
|
|
[ 0] Mov dst:x~0, src:Undefined
|
|
[ 10] NewObject dst:reg5
|
|
[ 20] ThrowIfNullish src:reg5
|
|
[ 28] GetById dst:reg6, base:reg5, `x`
|
|
[ 48] JumpUndefined condition:reg6, true_target:block1, false_target:block2
|
|
|
|
block1:
|
|
[ 58] NewFunction dst:reg7, shared_function_data_index:0 (x)
|
|
[ 70] Mov dst:reg6, src:reg7
|
|
|
|
block2:
|
|
[ 80] Mov dst:x~0, src:reg6
|
|
[ 90] Return value:x~0
|
|
|
|
|
|
setter_parameter_resolution$2898cc06 destructuring-assignment.js:19:9
|
|
Registers: 12
|
|
Blocks: 5
|
|
Constants:
|
|
[0] = Undefined
|
|
[1] = Bool(false)
|
|
|
|
block0:
|
|
[ 0] CreateVariable `setValue`, is_immutable:false, is_global:false, is_strict:false
|
|
[ 10] InitializeVariableBinding `setValue`, src:Undefined
|
|
[ 28] NewPrimitiveArray dst:reg5, elements:[23]
|
|
[ 40] Mov dst:reg6, src:Bool(false)
|
|
[ 50] GetIterator dst_iterator_object:reg7, dst_iterator_next:reg8, dst_iterator_done:reg9, iterable:reg5
|
|
[ 68] NewObject dst:reg10
|
|
[ 78] NewFunction dst:reg11, shared_function_data_index:0 (set y), home_object:reg10
|
|
[ 90] PutById base:reg10, `y`, src:reg11, kind:Setter
|
|
[ b8] IteratorNextUnpack dst_value:reg11, dst_done:reg6, iterator_object:reg7, iterator_next:reg8, iterator_done:reg9
|
|
[ d0] JumpFalse condition:reg6, target:block2
|
|
|
|
block1:
|
|
[ e0] Mov dst:reg11, src:Undefined
|
|
[ f0] Jump target:block2
|
|
|
|
block2:
|
|
[ f8] PutById base:reg10, `y`, src:reg11, kind:Normal
|
|
[ 120] JumpFalse condition:reg6, target:block4
|
|
|
|
block3:
|
|
[ 130] GetInitializedBinding dst:reg5, `setValue`
|
|
[ 148] Return value:reg5
|
|
|
|
block4:
|
|
[ 150] IteratorClose iterator_object:reg7, iterator_next:reg8, iterator_done:reg9, completion_value:Undefined
|
|
[ 168] Jump target:block3
|
|
|
|
|
|
set y$72954fa9 destructuring-assignment.js:21:26
|
|
Registers: 5
|
|
Blocks: 1
|
|
Constants:
|
|
[0] = Undefined
|
|
|
|
block0:
|
|
[ 0] SetLexicalBinding `setValue`, src:arg0
|
|
[ 18] End value:Undefined
|