diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-09-22 20:47:02 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-09-22 20:47:02 -0400 |
commit | 2d5302df71e80ce2acc25c5bc91b148cee6e7c5c (patch) | |
tree | a514340b3607ac79843db9e5288fd0f3d233696a /lisc/isel.c | |
parent | 12cfd93e26a837875fdeef4e871277a67e12d083 (diff) | |
download | roux-2d5302df71e80ce2acc25c5bc91b148cee6e7c5c.tar.gz |
small simplification in seljmp
Diffstat (limited to 'lisc/isel.c')
-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 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; |