Files
ladybird/Tests/LibJS/Bytecode/expected/nested-for-loop-completion.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

23 lines
1013 B
Plaintext

JS bytecode executable ""
[ 0] 0: GetLexicalEnvironment dst:reg4
[ 8] SetGlobal identifier:n, src:Int32(4)
[ 20] Mov dst:reg5, src:Undefined
[ 30] Jump target:@a8
[ 38] 1: SetGlobal identifier:depth, src:Int32(0)
[ 50] Mov dst:reg6, src:Undefined
[ 60] Jump target:@120
[ 68] 2: GetGlobal dst:reg6, identifier:n
[ 80] Add dst:reg7, lhs:reg6, rhs:Int32(1)
[ 90] SetGlobal identifier:n, src:reg7
[ a8] 3: GetGlobal dst:reg6, identifier:n
[ c0] JumpLessThanEquals lhs:reg6, rhs:Int32(7), true_target:@38, false_target:@d8
[ d8] 4: End value:reg5
[ e0] 5: GetGlobal dst:reg7, identifier:depth
[ f8] Add dst:reg8, lhs:reg7, rhs:Int32(2)
[ 108] SetGlobal identifier:depth, src:reg8
[ 120] 6: GetGlobal dst:reg7, identifier:depth
[ 138] JumpLessThanEquals lhs:reg7, rhs:Int32(0), true_target:@e0, false_target:@150
[ 150] 7: Mov dst:reg5, src:reg6
[ 160] Mov dst:reg5, src:reg6
[ 170] Jump target:@68