diff options
-rw-r--r-- | lisc/isel.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lisc/isel.c b/lisc/isel.c index 51de6c7..36466ee 100644 --- a/lisc/isel.c +++ b/lisc/isel.c @@ -185,10 +185,7 @@ seljmp(Blk *b, Fn *fn) } else b->jmp.type = JXJc + Cne; } else { - if (islong(r, fn)) - emit(OXCmpl, R, CON_Z, r); - else - emit(OXCmpw, R, CON_Z, r); + selcmp((Ref[2]){r, CON_Z}, fn); b->jmp.type = JXJc + Cne; } } |