aboutsummaryrefslogtreecommitdiff
path: root/src/regalloc.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-08-18 20:48:27 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2024-08-18 21:07:11 +0300
commit4af5176d6377958a457da3e5f671ce21540fad70 (patch)
tree04e7f2fe66e7c2e05f6a47b0c8108cf407ee6c93 /src/regalloc.c
parentcdbe058f69f1db9c552e1b4a1ec5f94c12fc48a2 (diff)
downloadqbt-4af5176d6377958a457da3e5f671ce21540fad70.tar.gz
qbt-4af5176d6377958a457da3e5f671ce21540fad70.zip
add tests and fixes on top of 674438
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;