hg: bsd-port/bsd-port/hotspot: Summary: Additional datatype corrections

kurt at intricatesoftware.com kurt at intricatesoftware.com
Tue Jan 20 12:29:03 PST 2009


Changeset: ed1c211cf918
Author:    truk at seraph.intricatesoftware.com
Date:      2009-01-20 15:26 -0500
URL:       http://hg.openjdk.java.net/bsd-port/bsd-port/hotspot/rev/ed1c211cf918

Summary: Additional datatype corrections
Reviewed By: glewis

- There is no movptr(Address, int32_t) function for x86/32 bit.
Casting to int32_t for movptr on x86/32 should be avoided. Instead
cast directly to intptr_t where needed.
- Several places in the x86/32 code movl is directly used where
movptr is the correct function. movptr on x86/32 ends up using
movl but deals with the type variations without the need for
additional casts.
- Use NULL_WORD to assign a NULL value to intptr_t instead of
(intptr_t) NULL

! src/cpu/x86/vm/interp_masm_x86_32.cpp
! src/cpu/x86/vm/interpreterRT_x86_32.cpp
! src/cpu/x86/vm/templateTable_x86_32.cpp




More information about the bsd-port-dev mailing list