mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-09 00:22:36 +02:00
Created these while experimenting with LibJS. Might as well bring them into the tree and increase our coverage.
16 lines
748 B
Plaintext
16 lines
748 B
Plaintext
JS bytecode executable ""
|
|
[ 0] 0: GetLexicalEnvironment dst:reg4
|
|
[ 8] GetGlobal dst:reg6, identifier:outer
|
|
[ 18] Call dst:reg5, callee:reg6, this_value:Undefined, outer
|
|
[ 38] End value:reg5
|
|
|
|
JS bytecode executable "outer"
|
|
[ 0] 0: GetLexicalEnvironment dst:reg4
|
|
[ 8] CreateVariable identifier:inner, is_immutable:false, is_global:false, is_strict:false
|
|
[ 18] InitializeVariableBinding identifier:inner, src:Undefined
|
|
[ 30] NewFunction dst:reg5, shared_function_data_index:0
|
|
[ 48] SetVariableBinding identifier:inner, src:reg5
|
|
[ 60] GetGlobal dst:reg6, identifier:Number
|
|
[ 70] CallConstruct dst:reg5, callee:reg6, Number, arguments:[Int32(42)]
|
|
[ 90] Return value:reg5
|