From 2d5302df71e80ce2acc25c5bc91b148cee6e7c5c Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Tue, 22 Sep 2015 20:47:02 -0400 Subject: [PATCH] small simplification in seljmp --- lisc/isel.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lisc/isel.c b/lisc/isel.c index d8a3ef9..3887114 100644 --- a/lisc/isel.c +++ b/lisc/isel.c @@ -286,11 +286,8 @@ seljmp(Blk *b, Fn *fn) case JRetc: assert(!"retc todo"); case JRetw: - w = 0; - if (0) { case JRetl: - w = 1; - } + w = b->jmp.type == JRetl; b->jmp.type = JRet0; r = b->jmp.arg; b->jmp.arg = R;