diff options
author | Andreas Kling <kling@serenityos.org> | 2021-06-06 13:26:50 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-06-07 18:11:59 +0200 |
commit | 79eac08f5bc9850749a3280d517649a1d0c9933a (patch) | |
tree | d1ab742b71e5df578f7549ef15d69a9fa505c737 /Userland/Libraries/LibC/arch/i386 | |
parent | 80b1604b0a90b85f1fbdfecfcffcbf73e5b485bc (diff) | |
download | serenity-79eac08f5bc9850749a3280d517649a1d0c9933a.zip |
LibJS: Add basic "if" statement support to the bytecode VM :^)
This also required making Bytecode::Op::Jump support lazy linking
to a target label.
I left a FIXME here about having the "if" statement return the result
value from the taken branch statement. That's what the AST interpreter
does but I'm not sure if it's actually required.
Diffstat (limited to 'Userland/Libraries/LibC/arch/i386')
0 files changed, 0 insertions, 0 deletions