Added check_lifetime_of_locals().
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 11 Oct 2005 09:36:16 +0000 (09:36 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Tue, 11 Oct 2005 09:36:16 +0000 (09:36 +0000)
commit83650bafeee321f588a82d64ff0d3e1e6a4192d1
tree38ad32e5cd35e4cb89ffbdfb76945029e2b577a3
parenta187838269c74e130a05a483d43d7b0d6aea14be
Added check_lifetime_of_locals().
Tail-recursion removement can only be done in it can be prove that
all lifetimes of locals can be ended before the recursion. We do that by simply
checking that there addresses are not stored. This sorryly
reduces the possibility of this optimization.

[r6676]
ir/opt/tailrec.c