Files
ladybird/Tests/LibJS/Bytecode/expected/try-catch-completion-ordering.txt
Andreas Kling fdd7809bd1 Tests/LibJS: Add a big pile of AST, bytecode, and runtime tests
Created these while experimenting with LibJS. Might as well bring them
into the tree and increase our coverage.
2026-02-17 20:44:57 +01:00

16 lines
485 B
Plaintext

JS bytecode executable ""
[ 0] 0: GetLexicalEnvironment dst:reg4
[ 8] Jump target:@68
[ 10] 1: Catch dst:reg5
[ 18] SetLexicalEnvironment environment:reg4
[ 20] Mov dst:e~0, src:reg5
[ 30] Mov dst:reg6, src:Undefined
[ 40] Mov dst:reg6, src:Int32(42)
[ 50] Mov dst:reg7, src:reg6
[ 60] 2: End value:reg7
[ 68] 3: Mov dst:reg5, src:Undefined
[ 78] Throw src:Null
Exception handlers:
from 68 to 80 handler 10