aboutsummaryrefslogtreecommitdiffhomepage
path: root/ir/regalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ir/regalloc.c')
-rw-r--r--ir/regalloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/regalloc.c b/ir/regalloc.c
index f43bcc7..ca3ddcc 100644
--- a/ir/regalloc.c
+++ b/ir/regalloc.c
@@ -1134,10 +1134,10 @@ fini(struct rega *ra)
* b @blk
* @blk:
* NOP
- * ret
+ * ret/trap
*/
assert(p->s1 == blk);
- p->jmp.t = Jret;
+ p->jmp.t = blk->jmp.t;
p->s1 = NULL;
} else if (blk->s1) {
/* simplify: