hotspot/src/cpu/ppc/vm/stubGenerator_ppc.cpp
changeset 29325 0e86e64c66e5
parent 28492 57fecf138f7b
child 29695 7f733c2a8db4
--- a/hotspot/src/cpu/ppc/vm/stubGenerator_ppc.cpp	Thu Feb 26 21:00:03 2015 +0100
+++ b/hotspot/src/cpu/ppc/vm/stubGenerator_ppc.cpp	Fri Feb 27 19:52:48 2015 -0500
@@ -694,7 +694,7 @@
             __ release();
           }
 
-          CardTableModRefBS* const ct = (CardTableModRefBS*)bs;
+          CardTableModRefBS* const ct = barrier_set_cast<CardTableModRefBS>(bs);
           assert(sizeof(*ct->byte_map_base) == sizeof(jbyte), "adjust this code");
           assert_different_registers(addr, count, tmp);