Aarch64 JIT compiler: Fix else blocks

This commit is contained in:
Nikita Lisitsa 2026-01-19 15:13:55 +03:00
parent 7a3c7cca5d
commit 30b88d4add

View file

@ -157,7 +157,8 @@ namespace pslang::jit::aarch64
{ {
for (auto const & block : node.blocks) for (auto const & block : node.blocks)
{ {
apply(*block.condition); if (block.condition)
apply(*block.condition);
apply(*block.statements); apply(*block.statements);
} }
} }