Files
ladybird/Tests/LibJS/Bytecode/expected/eval-scope-optimization.txt
InvalidUsernameException 1d011f432b Tests/LibJS: Rebaseline bytecode tests with trailing newline diff
These tests pass when running them normally, but they produce a diff
when rebaselining. We should probably find out where this is coming
from, but for now just rebaseline all affected tests to make bytecode
diffs of upcoming commits clean.
2026-03-08 15:01:07 +01:00

16 lines
748 B
Plaintext

JS bytecode executable ""
[ 0] 0: GetLexicalEnvironment dst:reg4
[ 8] GetGlobal dst:reg6, identifier:outer
[ 20] Call dst:reg5, callee:reg6, this_value:Undefined, outer
[ 40] 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
[ 78] CallConstruct dst:reg5, callee:reg6, Number, arguments:[Int32(42)]
[ 98] Return value:reg5