mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-13 18:37:37 +02:00
If statements without an else clause generated jumps to the next
instruction, this commit fixes the if statement generation so that it
dosen't produce them anymore.
This is an example of JS code that generates the useless jumps
(a => if(a){}) ();
(cherry picked from commit 7865fbfe6d04a79a253a38eaec5c21c2bde110b5)
167 KiB
167 KiB