qbe

Internal scc patchset buffer for QBE
Log | Files | Refs | README | LICENSE

commit 2d5302df71e80ce2acc25c5bc91b148cee6e7c5c
parent 12cfd93e26a837875fdeef4e871277a67e12d083
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date:   Tue, 22 Sep 2015 20:47:02 -0400

small simplification in seljmp

Diffstat:
Mlisc/isel.c | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git 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;