Files
ladybird/Tests/LibJS/Bytecode/expected/eval-same-function.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

20 lines
861 B
Plaintext

JS bytecode executable ""
[ 0] 0: GetLexicalEnvironment dst:reg4
[ 8] GetGlobal dst:reg6, identifier:foo
[ 20] Call dst:reg5, callee:reg6, this_value:Undefined, foo
[ 40] End value:reg5
JS bytecode executable "foo"
[ 0] 0: GetLexicalEnvironment dst:reg4
[ 8] CreateArguments is_immutable:false
[ 18] GetCalleeAndThisFromEnvironment callee:reg6, this_value:reg7, identifier:eval
[ 30] CallDirectEval dst:reg5, callee:reg6, this_value:reg7, eval, arguments:[String("var x = 1")]
[ 58] GetBinding dst:reg6, identifier:Number
[ 70] CallConstruct dst:reg5, callee:reg6, Number, arguments:[Int32(42)]
[ 90] Return value:reg5
JS bytecode executable "eval"
[ 0] 0: GetLexicalEnvironment dst:reg4
[ 8] SetLexicalBinding identifier:x, src:Int32(1)
[ 20] End value:Undefined