Aarch64 JIT compiler: Fix else blocks
This commit is contained in:
parent
7a3c7cca5d
commit
30b88d4add
1 changed files with 2 additions and 1 deletions
|
|
@ -157,7 +157,8 @@ namespace pslang::jit::aarch64
|
|||
{
|
||||
for (auto const & block : node.blocks)
|
||||
{
|
||||
apply(*block.condition);
|
||||
if (block.condition)
|
||||
apply(*block.condition);
|
||||
apply(*block.statements);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue