Truly independent web browser
$4cc7db3b block-scoping.js:13: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, `closureOverBlockScope`
[ 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, `breakThroughBlockScopes`
[ 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
closureOverBlockScope$ca5f6acc block-scoping.js:2:15
Registers: 8
Blocks: 1
Locals: fns~0
Constants:
[0] = Int32(1)
[1] = Int32(2)
[2] = Int32(0)
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
[ 3] NewArray dst:fns~0
[ 6] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:1, is_catch_environment:false
[ 12] CreateVariable `x`, is_immutable:false, is_global:false, is_strict:false
[ 19] InitializeLexicalBinding `x`, src:Int32(1)
[ 20] GetById dst:reg6, base:fns~0, `push`
[ 27] NewFunction dst:reg7, shared_function_data_index:0
[ 2e] Call call_feedback:0, dst:reg6, callee:reg6, this_value:fns~0, arguments:[reg7]
[ 36] SetLexicalEnvironment environment:reg4
[ 38] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:1, is_catch_environment:false
[ 44] CreateVariable `y`, is_immutable:false, is_global:false, is_strict:false
[ 4b] InitializeLexicalBinding `y`, src:Int32(2)
[ 52] GetById dst:reg6, base:fns~0, `push`
[ 59] NewFunction dst:reg7, shared_function_data_index:1
[ 60] Call call_feedback:1, dst:reg6, callee:reg6, this_value:fns~0, arguments:[reg7]
[ 68] SetLexicalEnvironment environment:reg4
[ 6a] GetByValue keyed_feedback:0, dst:reg5, base:fns~0, property:Int32(0)
[ 72] Call call_feedback:2, dst:reg5, callee:reg5, this_value:fns~0
[ 79] GetByValue keyed_feedback:1, dst:reg6, base:fns~0, property:Int32(1)
[ 81] Call call_feedback:3, dst:reg6, callee:reg6, this_value:fns~0
[ 88] Add arith_feedback:0, dst:reg5, lhs:reg5, rhs:reg6
[ 8e] Return value:reg5
$1369d6de block-scoping.js:5:18
Registers: 6
Blocks: 1
block0:
[ 0] Enter
[ 1] GetBinding value_feedback:0, dst:reg5, `x`
[ a] Return value:reg5
$79d92f92 block-scoping.js:9:18
Registers: 6
Blocks: 1
block0:
[ 0] Enter
[ 1] GetBinding value_feedback:0, dst:reg5, `y`
[ a] Return value:reg5
breakThroughBlockScopes$e55b31c1 block-scoping.js:16:9
Registers: 7
Blocks: 6
Locals: result~0, i~1, f~2
Constants:
[0] = Undefined
[1] = Int32(0)
block0:
[ 0] Enter
[ 1] GetLexicalEnvironment dst:reg4
[ 3] Mov dst:result~0, src:Undefined
[ 6] Mov dst:i~1, src:Int32(0)
[ 9] Jump target:block4
block1:
[ e] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:1, is_catch_environment:false
[ 1a] CreateVariable `x`, is_immutable:false, is_global:false, is_strict:false
[ 21] InitializeLexicalBinding `x`, src:i~1
[ 28] NewFunction dst:f~2, shared_function_data_index:0 (f)
[ 2f] GetBinding value_feedback:0, dst:reg6, `x`
[ 38] JumpGreaterThanRhsInt32 arith_feedback:0, lhs:reg6, rhs:1, true_target:block2, false_target:block3
block2:
[ 48] Mov dst:result~0, src:f~2
[ 4b] SetLexicalEnvironment environment:reg4
[ 4d] Jump target:block5
block3:
[ 52] SetLexicalEnvironment environment:reg4
[ 54] Increment arith_feedback:1, dst:i~1
block4:
[ 58] JumpLessThanLoopRhsInt32 arith_feedback:2, lhs:i~1, rhs:3, true_target:block1, false_target:block5
block5:
[ 68] Call call_feedback:0, dst:reg5, callee:result~0, this_value:Undefined
[ 6f] Return value:reg5
f$a1a332a6 block-scoping.js:20:21
Registers: 6
Blocks: 1
block0:
[ 0] Enter
[ 1] GetBinding value_feedback:0, dst:reg5, `x`
[ a] Return value:reg5
3
2