From: Michael Beck Date: Wed, 7 Feb 2007 17:19:58 +0000 (+0000) Subject: BugFix: TLS variables are Sels, not SymConst X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=510cc82f920ded1e3be573ac263201af6325deba;p=libfirm BugFix: TLS variables are Sels, not SymConst [r8609] --- diff --git a/ir/ana/irmemory.c b/ir/ana/irmemory.c index cedb972c1..8020bae6d 100644 --- a/ir/ana/irmemory.c +++ b/ir/ana/irmemory.c @@ -597,7 +597,7 @@ static void check_global_address(ir_node *irn, void *env) { ent = get_SymConst_entity(irn); } else if (is_Sel(irn) && get_Sel_ptr(irn) == tls) { /* A TLS variable. */ - ent = get_SymConst_entity(irn); + ent = get_Sel_entity(irn); } else return;