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] Do not refer directly to gen_lowpart_xxx


> I tried that but it is more of a mess than this way.  For example you should
> duplicate code in rest_of_handle_cse2.  It may be feasible (but is it a good
> change?) if you move rest_of_handle_xxx to the files that actually implement
> the pass; otherwise you end up with very deep implementation detail in
> toplev.c.

Well, you could just have functions to manipulate gen_lowpart in emit-rtl.c
that are called from other files like toplev.c .


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