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: Inliner for Java


On Aug  6, 2002, Andrew Haley <aph@cambridge.redhat.com> wrote:

> 2002-07-30  Andrew Haley  <aph@redhat.com>

> 	* tree-inline.c: Add includes for Java inliner.
> 	(remap_decl): Don't handle anonymous types for Java.
> 	(remap_block): Add handling for Java trees.
> 	(copy_scope_stmt): Conditionalize for non-Java use only.
> 	(copy_body_r): Handle Java trees.  Add handling for
> 	LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR, Java blocks.
> 	(initialize_inlined_parameters):  Handle Java trees.
> 	(declare_return_variable): Likewise.
> 	(expand_call_inline): Handle Java trees.
> 	(walk_tree): Likewise.
> 	(copy_tree_r): Don't handle SCOPE_STMTs for Java.
> 	(add_stmt_to_compound): New function.

Hey, this is pretty cool!  I wish I could approve it, but AFAIK I
can't :-( Even though I created tree-inline.c, I was mostly just
moving code from the C++ front-end.  Oh, well...  I hope someone that
can approve this does it soon.  Thanks for doing it!

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


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