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] Split builtins.c (take 2)


Nick Burrett writes:
 > Jerry Quinn wrote:
 > > Now that tree-ssa is merged, I'm resubmitting the patch to split
 > > builtins.c up.  I've done some more work on it and split some more
 > > than was in the original patch.
 > > 
 > > This patch splits out fold_builtin and simplify_builtin into separate
 > > files.  I pulled shared functions into builtin-misc.[ch].
 >
 > Since these new files are split from their parent builtins.c, would it 
 > not be better to indicate this heirarchy in the file structure ? i.e. 
 > call them builtin-simplify.c, builtin-fold.c

I originally chose fold-builtin and simplify_builtin since there was
already a fold-const and simplify-rtx.  But I have no problem with
calling them builtin-simplify and builtin-fold.

Jerry


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