This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch (Java): Purge java_expand_expr()
On Tue, 22 Jun 2004 15:05:43 +0100, Andrew Haley <aph@redhat.com> wrote:
>
> Ranjit Mathew writes:
> >
> > Index: ChangeLog
> > from Ranjit Mathew <rmathew@hotmail.com>
> > Andrew Haley <aph@redhat.com>
> >
> > Purge java_expand_expr.
> > * java-tree.h: Remove declaration for java_expand_expr.
> > * lang.c: Remove override for LANG_HOOKS_EXPAND_EXPR.
> > * expr.c (java_expand_expr): Remove.
> > (case_identity): Likewise.
> > (get_primitive_array_vtable): Likewise.
> > (emit_init_test_initialization): Likewise.
>
> We should fix emit_init_test_initialization for tree-SSA, otherwise
> this is a performance regression.
Ok - this was pretty much a purely mechanical patch anyway.
(No wonder you'd inserted an abort() in java_expand_expr() for tree-ssa,
rather than deleting it altogether.)
Thanks,
Ranjit.