From daa98bdb8eaf46e43d37c4b914b918cbce44300e Mon Sep 17 00:00:00 2001 From: Humberto Date: Tue, 19 May 2009 21:31:34 -0300 Subject: [PATCH] Bug again --- dataflow.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dataflow.c b/dataflow.c index 6e8890d..520e7a4 100644 --- a/dataflow.c +++ b/dataflow.c @@ -57,13 +57,15 @@ int check_regs (list l) operel = list_head (l); while (operel) { val = element_getvalue (operel); + operel = element_next (operel); + if (val->type == VAL_REGISTER) { reg = val->val.intval; } else if (val->type == VAL_SSAVAR) { reg = val->val.variable->name.val.intval; - } + } else continue; + if (!IS_BIT_SET (regmask_localvars, reg)) return TRUE; - operel = element_next (operel); } return FALSE; -- 2.11.4.GIT