Truly independent web browser
$fd48f260 switch-local-only-let.js:15:1
Registers: 9
Blocks: 1
Constants:
[0] = Undefined
[1] = Int32(1)
[2] = Int32(2)
[3] = Int32(3)
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
[ 4] GetGlobal value_feedback:0, dst:reg6, `console`
[ c] GetById dst:reg7, base:reg6, `log`
[ 13] GetGlobal value_feedback:1, dst:reg8, `switchLocalOnly`
[ 1b] Call call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined, arguments:[Int32(1)]
[ 23] Call call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
[ 2b] GetGlobal value_feedback:2, dst:reg6, `console`
[ 33] GetById dst:reg7, base:reg6, `log`
[ 3a] GetGlobal value_feedback:3, dst:reg8, `switchLocalOnly`
[ 42] Call call_feedback:2, dst:reg8, callee:reg8, this_value:Undefined, arguments:[Int32(2)]
[ 4a] Call call_feedback:3, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
[ 52] GetGlobal value_feedback:4, dst:reg6, `console`
[ 5a] GetById dst:reg7, base:reg6, `log`
[ 61] GetGlobal value_feedback:5, dst:reg8, `switchLocalOnly`
[ 69] Call call_feedback:4, dst:reg8, callee:reg8, this_value:Undefined, arguments:[Int32(3)]
[ 71] Call call_feedback:5, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
[ 79] End value:reg5
switchLocalOnly$0cd18392 switch-local-only-let.js:4:13
Registers: 7
Blocks: 6
Locals: a~0, b~1
Constants:
[0] = <Empty>
[1] = Int32(1)
[2] = Int32(2)
[3] = Int32(10)
[4] = Int32(20)
[5] = Int32(0)
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:arg0
[ 4] Mov dst:a~0, src:<Empty>
[ 7] Mov dst:b~1, src:<Empty>
[ a] JumpStrictlyEquals arith_feedback:0, lhs:Int32(1), rhs:reg5, true_target:block3, false_target:block1
block1:
[ 17] JumpStrictlyEquals arith_feedback:1, lhs:Int32(2), rhs:reg5, true_target:block4, false_target:block2
block2:
[ 24] Jump target:block5
block3:
[ 29] Mov dst:a~0, src:Int32(10)
[ 2c] Return value:a~0
block4:
[ 2e] Mov dst:b~1, src:Int32(20)
[ 31] Return value:b~1
block5:
[ 33] Return value:Int32(0)
10
20
0