This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


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

Re: basic block reordering + java


> With basic block reordering, we often see code from gcj that ends in...
> 
> .L20:
>         call    _Jv_ThrowNullPointerException
> .L21:
>         call    _Jv_ThrowNullPointerException
> .L22:
>         call    _Jv_ThrowNullPointerException
> .L23:
>         call    _Jv_ThrowNullPointerException
> .L24:
>         call    _Jv_ThrowNullPointerException
> .L25:
>         call    _Jv_ThrowNullPointerException
> .L26:
>         call    _Jv_ThrowNullPointerException
> 
> Is there an easy way for GCC to merge identical blocks?
Oh yes, all you need is to modify crossjumping to add fake "noreturn"
edges and crossjump over them.
I can try to get that working later, but right now I am quite busy by other
thinks.

Honza


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