This is the mail archive of the java-patches@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]
Other format: [Raw text]

Re: FYI: Patch: java.net.InetAddress


On Tuesday, Sep 30, 2003, at 10:27 Pacific/Auckland, Tom Tromey wrote:

"Bryce" == Bryce McKinlay <bryce@mckinlay.net.nz> writes:

+    // Mask against high order bits of 1110
+    if (addr.length == 4)

Bryce> In this case, however, the compiler is hopefully smart enough to Bryce> optimize out the second load, so it isn't a problem.

If not, let's fix the compiler.  It certainly ought to be able to do
this.  Could you look?

I checked, and it does - identical code generated.


It would be worth checking for indirect-dispatch as well, but I dont have Andrew's patch installed yet.

Regards

Bryce.



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