Truly independent web browser
$e218f9c8 catch-scope-boundary.js:14:1
Registers: 9
Blocks: 1
Constants:
[0] = Undefined
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, `throwInCatch`
[ 1b] Call call_feedback:0, dst:reg8, callee:reg8, this_value:Undefined
[ 22] Call call_feedback:1, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
[ 2a] GetGlobal value_feedback:2, dst:reg6, `console`
[ 32] GetById dst:reg7, base:reg6, `log`
[ 39] GetGlobal value_feedback:3, dst:reg8, `throwInCatchWithLocals`
[ 41] Call call_feedback:2, dst:reg8, callee:reg8, this_value:Undefined
[ 48] Call call_feedback:3, dst:reg5, callee:reg7, this_value:reg6, arguments:[reg8]
[ 50] End value:reg5
throwInCatch$1fd4a2a1 catch-scope-boundary.js:2:9
Registers: 6
Blocks: 7
Locals: result~0, e~1, e2~2
Constants:
[0] = String("bad")
[1] = Int32(1)
[2] = <Empty>
[3] = Int32(2)
[4] = String("good")
block0:
[ 0] Enter
[ 1] Mov dst:result~0, src:String("bad")
block1:
[ 4] Throw src:Int32(1)
block2:
[ 6] Catch value_feedback:0, dst:reg5
[ a] Mov dst:e~1, src:<Empty>
[ d] Mov dst:e~1, src:reg5
block3:
[ 10] Throw src:Int32(2)
block4:
[ 12] Catch value_feedback:1, dst:reg5
[ 16] Mov dst:e2~2, src:<Empty>
[ 19] Mov dst:e2~2, src:reg5
[ 1c] Mov dst:result~0, src:String("good")
[ 1f] Jump target:block5
block5:
[ 24] Jump target:block6
block6:
[ 29] Return value:result~0
Exception handlers:
[ 4 .. 6] => handler block2
[ 10 .. 12] => handler block4
throwInCatchWithLocals$11740009 catch-scope-boundary.js:17:9
Registers: 6
Blocks: 5
Locals: outerVar~0, e~1, catchLocal~2, inner~3
Constants:
[0] = String("outer")
[1] = String("first")
[2] = <Empty>
[3] = String("local:")
[4] = String("second")
[5] = String(",")
block0:
[ 0] Enter
[ 1] Mov dst:outerVar~0, src:String("outer")
block1:
[ 4] Throw src:String("first")
block2:
[ 6] Catch value_feedback:0, dst:reg5
[ a] Mov dst:e~1, src:<Empty>
[ d] Mov dst:e~1, src:reg5
[ 10] Add arith_feedback:0, dst:catchLocal~2, lhs:String("local:"), rhs:e~1
block3:
[ 16] Throw src:String("second")
block4:
[ 18] Catch value_feedback:1, dst:reg5
[ 1c] Mov dst:inner~3, src:<Empty>
[ 1f] Mov dst:inner~3, src:reg5
[ 22] Add arith_feedback:1, dst:reg5, lhs:outerVar~0, rhs:String(",")
[ 28] Add arith_feedback:2, dst:reg5, lhs:reg5, rhs:catchLocal~2
[ 2e] Add arith_feedback:3, dst:reg5, lhs:reg5, rhs:String(",")
[ 34] Add arith_feedback:4, dst:reg5, lhs:reg5, rhs:inner~3
[ 3a] Return value:reg5
Exception handlers:
[ 4 .. 6] => handler block2
[ 16 .. 18] => handler block4
"good"
"outer,local:first,second"