aboutsummaryrefslogtreecommitdiff
path: root/src/regalloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regalloc.c')
-rw-r--r--src/regalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regalloc.c b/src/regalloc.c
index 6265c6d..61a90b1 100644
--- a/src/regalloc.c
+++ b/src/regalloc.c
@@ -184,7 +184,7 @@ static void build_active_between(struct vec *active, struct vec *prev_active, st
* the lifetimes vector */
if (prev_active)
foreach_lifetime(li, *prev_active) {
- struct lifetime l = lifetime_at(*lifetimes, li);
+ struct lifetime l = lifetime_at(*prev_active, li);
if (l.end <= start)
continue;