Files
ladybird/Tests/LibJS/Bytecode/expected/expression-identifier-number-format.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

12 lines
583 B
Plaintext

JS bytecode executable ""
[ 0] 0: GetLexicalEnvironment dst:reg4
[ 8] NewObject dst:reg5
[ 18] SetGlobal identifier:x, src:reg5
[ 28] GetGlobal dst:reg5, identifier:x
[ 38] NewObject dst:reg6
[ 48] PutNormalByValue base:reg5, property:Double(1.1e-32), src:reg6, base_identifier:x
[ 60] GetGlobal dst:reg5, identifier:x
[ 70] GetByValue dst:reg7, base:reg5, property:Double(1.1e-32), base_identifier:x
[ 88] PutNormalById base:reg7, property:foo, src:Int32(42), base_identifier:x[1.1e-32]
[ a0] End value:Int32(42)