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.
52 lines
1.3 KiB
Text
52 lines
1.3 KiB
Text
$2d2a9e5a private-method-call-description.js:1:1
|
|
Registers: 8
|
|
Blocks: 1
|
|
Constants:
|
|
[0] = String("call")
|
|
[1] = Undefined
|
|
|
|
block0:
|
|
[ 0] GetLexicalEnvironment dst:reg4
|
|
[ 8] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:0
|
|
[ 18] CreateVariable `C`, is_immutable:true, is_global:false, is_strict:false
|
|
[ 28] CreatePrivateEnvironment
|
|
[ 30] AddPrivateName `#m`
|
|
[ 38] SetLexicalEnvironment environment:reg4
|
|
[ 40] NewClass dst:reg6, class_environment:reg5, class_blueprint_index:0, element_keys:[element_keys:String("call")]
|
|
[ 68] LeavePrivateEnvironment
|
|
[ 70] InitializeLexicalBinding `C`, src:reg6
|
|
[ 88] GetGlobal dst:reg7, `C`
|
|
[ a0] CallConstruct dst:reg5, callee:reg7, C
|
|
[ b8] GetById dst:reg7, base:reg5, `call`
|
|
[ d8] Call dst:reg6, callee:reg7, this_value:reg5, <object>.call
|
|
[ f8] End value:reg6
|
|
|
|
|
|
C$e7b179de
|
|
Registers: 5
|
|
Blocks: 1
|
|
Constants:
|
|
[0] = Undefined
|
|
|
|
block0:
|
|
[ 0] End value:Undefined
|
|
|
|
|
|
call$c4371728 private-method-call-description.js:6:9
|
|
Registers: 7
|
|
Blocks: 1
|
|
|
|
block0:
|
|
[ 0] GetPrivateById dst:reg6, base:this, `#m`
|
|
[ 10] Call dst:reg5, callee:reg6, this_value:this, this.#m
|
|
[ 30] Return value:reg5
|
|
|
|
|
|
#m$a16f05d1 private-method-call-description.js:3:9
|
|
Registers: 5
|
|
Blocks: 1
|
|
Constants:
|
|
[0] = Int32(42)
|
|
|
|
block0:
|
|
[ 0] Return value:Int32(42)
|