actually no :)
authorWolfgang Bumiller <wry.git@bumiller.com>
Sat, 22 Jun 2013 18:31:50 +0000 (20:31 +0200)
committerWolfgang Bumiller <wry.git@bumiller.com>
Sat, 22 Jun 2013 18:31:50 +0000 (20:31 +0200)
ir.c

diff --git a/ir.c b/ir.c
index 65670c924dd52c0152d0bfa4f22a21225cdadfce..5e885872876327ea17a9325b79a4a527800d9d67 100644 (file)
--- a/ir.c
+++ b/ir.c
@@ -2625,7 +2625,7 @@ bool ir_function_calculate_liferanges(ir_function *self)
             if (v->memberof) {
                 ir_value *vec = v->memberof;
                 for (s = 0; s < vec_size(vec->reads); ++s) {
-                    if (vec->reads[s]->eid == vec->life[0].end)
+                    if (vec->reads[s]->eid == v->life[0].end)
                         break;
                 }
                 if (s < vec_size(vec->reads)) {