develooper Front page | perl.perl5.porters | Postings from November 2009

[PATCH] Change list assignment commonality detection to use the optree, fixing commonality detection with &&

From:
Gerard Goossen
Date:
November 16, 2009 05:19
Subject:
[PATCH] Change list assignment commonality detection to use the optree, fixing commonality detection with &&
Message ID:
20091116131929.GV13848@ggoossen.net
Change the common variable detection for list assignment to use the
op tree structure instead of the linkedlist.
Fixes detection of commonality detection with conditional operator like &&
Also splits processing of the lhs and the rhs, such that using the
same variable twice in the rhs does not cause commonality to be
detected.

Gerard Goossen




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About