changeset 7427 | d7b79a367474 |
parent 7397 | 5b173b4ca846 |
child 7724 | a92d706dbdd5 |
--- a/hotspot/src/cpu/sparc/vm/c1_Runtime1_sparc.cpp Tue Nov 23 13:22:55 2010 -0800 +++ b/hotspot/src/cpu/sparc/vm/c1_Runtime1_sparc.cpp Tue Nov 30 23:23:40 2010 -0800 @@ -612,7 +612,7 @@ // load the klass and check the has finalizer flag Label register_finalizer; Register t = O1; - __ ld_ptr(O0, oopDesc::klass_offset_in_bytes(), t); + __ load_klass(O0, t); __ ld(t, Klass::access_flags_offset_in_bytes() + sizeof(oopDesc), t); __ set(JVM_ACC_HAS_FINALIZER, G3); __ andcc(G3, t, G0);