Fix treating ir::jump_if_nonzero as non-value instruction
This commit is contained in:
parent
ac58713fe1
commit
ec751ec6c2
1 changed files with 5 additions and 0 deletions
|
|
@ -39,6 +39,11 @@ namespace pslang::ir
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool operator()(jump_if_nonzero const &)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
bool operator()(return_value const &)
|
bool operator()(return_value const &)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue