mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 19:47:17 +02:00
Created these while experimenting with LibJS. Might as well bring them into the tree and increase our coverage.
16 lines
778 B
Plaintext
16 lines
778 B
Plaintext
JS bytecode executable ""
|
|
[ 0] 0: GetLexicalEnvironment dst:reg4
|
|
[ 8] GetGlobal dst:reg6, identifier:f
|
|
[ 18] Call dst:reg5, callee:reg6, this_value:Undefined, f
|
|
[ 38] End value:reg5
|
|
|
|
JS bytecode executable "f"
|
|
[ 0] 0: GetLexicalEnvironment dst:reg4
|
|
[ 8] CreateLexicalEnvironment dst:reg5, parent:reg4, capacity:0
|
|
[ 18] CreateVariable identifier:, is_immutable:true, is_global:false, is_strict:false
|
|
[ 28] GetGlobal dst:reg6, identifier:Symbol
|
|
[ 38] GetById dst:reg7, base:reg6, property:iterator, base_identifier:Symbol
|
|
[ 50] SetLexicalEnvironment environment:reg4
|
|
[ 58] NewClass dst:reg6, class_environment:reg5, class_blueprint_index:0, element_keys:[element_keys:reg7]
|
|
[ 80] Return value:reg6
|