Truly independent web browser
$7464996b if-else-register-lifetime.js:11:1
Registers: 8
Blocks: 1
Constants:
[0] = Undefined
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
[ 4] GetGlobal value_feedback:0, dst:reg6, `test`
[ c] NewPrimitiveArray dst:reg7, elements:[1]
[ 1a] Call call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined, arguments:[reg7]
[ 22] End value:reg5
test$7db14ebe if-else-register-lifetime.js:2:9
Registers: 7
Blocks: 10
Locals: a~0, i~1, j~2
Constants:
[0] = Undefined
[1] = Int32(1)
[2] = Int32(0)
block0:
[ 0] Enter
[ 1] Mov dst:a~0, src:Undefined
[ 4] Mov dst:i~1, src:Undefined
[ 7] Mov dst:j~2, src:Undefined
[ a] Mov dst:a~0, src:Int32(1)
[ d] Mov dst:i~1, src:Int32(0)
[ 10] Jump target:block8
block1:
[ 15] Mov dst:j~2, src:Int32(0)
[ 18] Jump target:block6
block2:
[ 1d] JumpLessThanRhsInt32 arith_feedback:0, lhs:j~2, rhs:5, true_target:block3, false_target:block4
block3:
[ 2d] Add arith_feedback:1, dst:reg5, lhs:i~1, rhs:j~2
[ 33] GetByValue keyed_feedback:0, dst:reg5, base:arg0, property:reg5
[ 3b] PutByValue keyed_feedback:1, base:arg0, property:j~2, src:reg5, kind:Normal
[ 44] Jump target:block5
block4:
[ 49] GetGlobal value_feedback:0, dst:reg5, `parseInt`
[ 51] SubRhsInt32 arith_feedback:2, dst:reg6, lhs:j~2, rhs:3
[ 5a] GetByValue keyed_feedback:2, dst:reg6, base:arg0, property:reg6
[ 62] Call call_feedback:0, dst:reg5, callee:reg5, this_value:Undefined, arguments:[reg6, Int32(1)]
[ 6b] PutByValue keyed_feedback:3, base:arg0, property:j~2, src:reg5, kind:Normal
block5:
[ 74] Increment arith_feedback:3, dst:j~2
block6:
[ 78] JumpLessThanLoopRhsInt32 arith_feedback:4, lhs:j~2, rhs:10, true_target:block2, false_target:block7
block7:
[ 88] Increment arith_feedback:5, dst:i~1
block8:
[ 8c] JumpLessThanLoopRhsInt32 arith_feedback:6, lhs:i~1, rhs:10, true_target:block1, false_target:block9
block9:
[ 9c] GetGlobal value_feedback:1, dst:reg5, `parseInt`
[ a4] Call call_feedback:1, dst:reg5, callee:reg5, this_value:Undefined, arguments:[a~0]
[ ac] Return value:reg5