Mercurial > hg > graal-compiler
diff src/cpu/sparc/vm/c1_Runtime1_sparc.cpp @ 4741:2685ea97b89f
Merge
author | jiangli |
---|---|
date | Fri, 09 Dec 2011 11:29:05 -0800 |
parents | 52b5d32fbfaf |
children | 22cee0ee8927 |
line wrap: on
line diff
--- a/src/cpu/sparc/vm/c1_Runtime1_sparc.cpp Fri Dec 09 06:46:57 2011 -0800 +++ b/src/cpu/sparc/vm/c1_Runtime1_sparc.cpp Fri Dec 09 11:29:05 2011 -0800 @@ -398,7 +398,7 @@ if (id == fast_new_instance_init_check_id) { // make sure the klass is initialized - __ ld(G5_klass, instanceKlass::init_state_offset_in_bytes() + sizeof(oopDesc), G3_t1); + __ ldub(G5_klass, instanceKlass::init_state_offset_in_bytes() + sizeof(oopDesc), G3_t1); __ cmp_and_br_short(G3_t1, instanceKlass::fully_initialized, Assembler::notEqual, Assembler::pn, slow_path); } #ifdef ASSERT