Truly independent web browser
$1487335f try-finally.js:8:1
Registers: 7
Blocks: 1
Constants:
[0] = Undefined
block0:
[ 0] Enter
[ 1] Mov dst:reg5, src:Undefined
[ 4] GetGlobal value_feedback:0, dst:reg6, `basicTryFinally`
[ c] Call call_feedback:0, dst:reg5, callee:reg6, this_value:Undefined
[ 13] GetGlobal value_feedback:1, dst:reg6, `breakThroughFinally`
[ 1b] Call call_feedback:1, dst:reg5, callee:reg6, this_value:Undefined
[ 22] GetGlobal value_feedback:2, dst:reg6, `nestedTryFinallyWithBreak`
[ 2a] Call call_feedback:2, dst:reg5, callee:reg6, this_value:Undefined
[ 31] End value:reg5
basicTryFinally$7aa3c782 try-finally.js:2:9
Registers: 9
Blocks: 8
Constants:
[0] = Int32(1)
[1] = Int32(2)
[2] = String("finally")
[3] = Undefined
block0:
[ 0] Enter
block1:
[ 1] Mov dst:reg6, src:Int32(1)
[ 4] Mov dst:reg5, src:Int32(2)
[ 7] Jump target:block3
block2:
[ c] Catch value_feedback:0, dst:reg6
[ 10] Mov dst:reg5, src:Int32(1)
block3:
[ 13] GetGlobal value_feedback:1, dst:reg7, `console`
[ 1b] GetById dst:reg8, base:reg7, `log`
[ 22] Call call_feedback:0, dst:reg7, callee:reg8, this_value:reg7, arguments:[String("finally")]
[ 2a] JumpStrictlyEqualsRhsInt32 arith_feedback:0, lhs:reg5, rhs:0, true_target:block7, false_target:block4
block4:
[ 3a] JumpStrictlyEqualsRhsInt32 arith_feedback:1, lhs:reg5, rhs:2, true_target:block5, false_target:block6
block5:
[ 4a] Return value:reg6
block6:
[ 4c] Throw src:reg6
block7:
[ 4e] End value:Undefined
Exception handlers:
[ 1 .. c] => handler block2
breakThroughFinally$a138a92d try-finally.js:11:10
Registers: 9
Blocks: 12
Locals: i~0
Constants:
[0] = Int32(0)
[1] = Int32(2)
[2] = Int32(1)
[3] = Undefined
block0:
[ 0] Enter
[ 1] Mov dst:i~0, src:Int32(0)
[ 4] Jump target:block10
block1:
[ 9] JumpStrictlyEqualsRhsInt32 arith_feedback:0, lhs:i~0, rhs:5, true_target:block2, false_target:block3
block2:
[ 19] Mov dst:reg5, src:Int32(2)
[ 1c] Jump target:block5
block3:
[ 21] Mov dst:reg5, src:Int32(0)
[ 24] Jump target:block5
block4:
[ 29] Catch value_feedback:0, dst:reg6
[ 2d] Mov dst:reg5, src:Int32(1)
block5:
[ 30] GetGlobal value_feedback:1, dst:reg7, `console`
[ 38] GetById dst:reg8, base:reg7, `log`
[ 3f] Call call_feedback:0, dst:reg7, callee:reg8, this_value:reg7, arguments:[i~0]
[ 47] JumpStrictlyEqualsRhsInt32 arith_feedback:1, lhs:reg5, rhs:0, true_target:block9, false_target:block6
block6:
[ 57] JumpStrictlyEqualsRhsInt32 arith_feedback:2, lhs:reg5, rhs:2, true_target:block7, false_target:block8
block7:
[ 67] Jump target:block11
block8:
[ 6c] Throw src:reg6
block9:
[ 6e] Increment arith_feedback:3, dst:i~0
block10:
[ 72] JumpLessThanLoopRhsInt32 arith_feedback:4, lhs:i~0, rhs:10, true_target:block1, false_target:block11
block11:
[ 82] End value:Undefined
Exception handlers:
[ 9 .. 29] => handler block4
nestedTryFinallyWithBreak$850bca64 try-finally.js:22:21
Registers: 11
Blocks: 15
Locals: i~0
Constants:
[0] = Int32(0)
[1] = Int32(2)
[2] = Int32(1)
[3] = String("inner")
[4] = String("outer")
[5] = Undefined
block0:
[ 0] Enter
[ 1] Mov dst:i~0, src:Int32(0)
block1:
[ 4] Mov dst:reg7, src:Int32(2)
[ 7] Jump target:block3
block2:
[ c] Catch value_feedback:0, dst:reg8
[ 10] Mov dst:reg7, src:Int32(1)
block3:
[ 13] GetGlobal value_feedback:1, dst:reg9, `console`
[ 1b] GetById dst:reg10, base:reg9, `log`
[ 22] Call call_feedback:0, dst:reg9, callee:reg10, this_value:reg9, arguments:[String("inner")]
[ 2a] JumpStrictlyEqualsRhsInt32 arith_feedback:0, lhs:reg7, rhs:0, true_target:block7, false_target:block4
block4:
[ 3a] JumpStrictlyEqualsRhsInt32 arith_feedback:1, lhs:reg7, rhs:2, true_target:block5, false_target:block6
block5:
[ 4a] Mov dst:reg5, src:Int32(2)
[ 4d] Jump target:block9
block6:
[ 52] Throw src:reg8
block7:
[ 54] Mov dst:reg5, src:Int32(0)
[ 57] Jump target:block9
block8:
[ 5c] Catch value_feedback:2, dst:reg6
[ 60] Mov dst:reg5, src:Int32(1)
block9:
[ 63] GetGlobal value_feedback:3, dst:reg7, `console`
[ 6b] GetById dst:reg8, base:reg7, `log`
[ 72] Call call_feedback:1, dst:reg7, callee:reg8, this_value:reg7, arguments:[String("outer")]
[ 7a] JumpStrictlyEqualsRhsInt32 arith_feedback:2, lhs:reg5, rhs:0, true_target:block13, false_target:block10
block10:
[ 8a] JumpStrictlyEqualsRhsInt32 arith_feedback:3, lhs:reg5, rhs:2, true_target:block11, false_target:block12
block11:
[ 9a] Jump target:block14
block12:
[ 9f] Throw src:reg6
block13:
[ a1] Increment arith_feedback:4, dst:i~0
[ a5] JumpLoop target:block1
block14:
[ aa] End value:Undefined
Exception handlers:
[ 4 .. c] => handler block2
[ c .. 5c] => handler block8
"finally"
0
1
2
3
4
5
"inner"
"outer"