This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Allow merging blocks with phi nodes


On Mon, 2005-05-16 at 15:18, Zdenek Dvorak wrote:

> 
> New version of fold_stmt (fold_stmt_inplace) is necessary, since
> fold_stmt may replace the whole statement, but we cannot get the pointer
> to statement from immediate uses, only the statement itself.

Isn't that what bsi_for_stmt () is for?

Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]