ladybird/Tests/LibJS/Bytecode/expected/nested-function-decl-source-order.txt

94 lines
2.5 KiB
Text
Raw Permalink Normal View History

$01294703 nested-function-decl-source-order.js:15:1
Registers: 11
Blocks: 1
Constants:
[0] = Undefined
[1] = String(",")
block0:
[ 0] GetGlobal dst:reg6, `console`
[ 10] GetById dst:reg7, base:reg6, `log` (console.log)
[ 28] GetGlobal dst:reg10, `outer`
[ 38] Call dst:reg9, callee:reg10, this_value:Undefined, outer
[ 58] GetById dst:reg10, base:reg9, `join`
[ 70] Call dst:reg8, callee:reg10, this_value:reg9, <object>.join, arguments:[String(",")]
[ 98] Call dst:reg5, callee:reg7, this_value:reg6, console.log, arguments:[reg8]
[ c0] End value:reg5
outer$f608465a nested-function-decl-source-order.js:12:5
Registers: 11
Blocks: 1
Locals: alpha~0, beta~1, dup~2, gamma~3, delta~4
Constants:
[0] = Undefined
block0:
[ 0] Mov3 dst1:alpha~0, src1:Undefined, dst2:beta~1, src2:Undefined, dst3:dup~2, src3:Undefined
[ 20] Mov2 dst1:gamma~3, src1:Undefined, dst2:delta~4, src2:Undefined
[ 38] NewFunction dst:alpha~0, shared_function_data_index:0
[ 50] NewFunction dst:beta~1, shared_function_data_index:1
[ 68] NewFunction dst:gamma~3, shared_function_data_index:2
[ 80] NewFunction dst:dup~2, shared_function_data_index:3
[ 98] NewFunction dst:delta~4, shared_function_data_index:4
[ b0] Call dst:reg5, callee:alpha~0, this_value:Undefined, alpha
[ d0] Call dst:reg6, callee:beta~1, this_value:Undefined, beta
[ f0] Call dst:reg7, callee:gamma~3, this_value:Undefined, gamma
[ 110] Call dst:reg8, callee:delta~4, this_value:Undefined, delta
[ 130] Call dst:reg9, callee:dup~2, this_value:Undefined, dup
[ 150] NewArray dst:reg10, elements:[reg5, reg6, reg7, reg8, reg9]
[ 178] Return value:reg10
alpha$ddf1e99f nested-function-decl-source-order.js:6:24
Registers: 5
Blocks: 1
Constants:
[0] = Int32(1)
block0:
[ 0] Return value:Int32(1)
beta$cbe393ff nested-function-decl-source-order.js:7:23
Registers: 5
Blocks: 1
Constants:
[0] = Int32(2)
block0:
[ 0] Return value:Int32(2)
gamma$4c5374eb nested-function-decl-source-order.js:9:24
Registers: 5
Blocks: 1
Constants:
[0] = Int32(3)
block0:
[ 0] Return value:Int32(3)
delta$fd075126 nested-function-decl-source-order.js:11:24
Registers: 5
Blocks: 1
Constants:
[0] = Int32(4)
block0:
[ 0] Return value:Int32(4)
dup$5f4e2278 nested-function-decl-source-order.js:10:22
Registers: 5
Blocks: 1
Constants:
[0] = String("second")
block0:
[ 0] Return value:String("second")
"1,2,3,4,second"