Mercurial > hg > graal-compiler
changeset 13446:fa6d364024c2
8029566: PPC: OrderAccess::load_acquire(julong) is broken
Summary: JFR needs this fix to run on PPC
Reviewed-by: sla, mikael
author | jprovino |
---|---|
date | Wed, 11 Dec 2013 13:51:28 -0500 |
parents | 3aa20cee331a |
children | dc09e905db20 |
files | src/share/vm/utilities/globalDefinitions_gcc.hpp |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/utilities/globalDefinitions_gcc.hpp Fri Dec 06 09:41:57 2013 -0800 +++ b/src/share/vm/utilities/globalDefinitions_gcc.hpp Wed Dec 11 13:51:28 2013 -0500 @@ -174,6 +174,7 @@ inline jint jint_cast (jfloat x) { return *(jint* )&x; } inline jlong jlong_cast (jdouble x) { return *(jlong* )&x; } +inline julong julong_cast (jdouble x) { return *(julong* )&x; } inline jfloat jfloat_cast (jint x) { return *(jfloat* )&x; } inline jdouble jdouble_cast(jlong x) { return *(jdouble*)&x; }