396 // to stomp the real return address. |
396 // to stomp the real return address. |
397 __ save_frame(0); |
397 __ save_frame(0); |
398 |
398 |
399 if (id == fast_new_instance_init_check_id) { |
399 if (id == fast_new_instance_init_check_id) { |
400 // make sure the klass is initialized |
400 // make sure the klass is initialized |
401 __ ld(G5_klass, instanceKlass::init_state_offset_in_bytes() + sizeof(oopDesc), G3_t1); |
401 __ ldub(G5_klass, instanceKlass::init_state_offset_in_bytes() + sizeof(oopDesc), G3_t1); |
402 __ cmp_and_br_short(G3_t1, instanceKlass::fully_initialized, Assembler::notEqual, Assembler::pn, slow_path); |
402 __ cmp_and_br_short(G3_t1, instanceKlass::fully_initialized, Assembler::notEqual, Assembler::pn, slow_path); |
403 } |
403 } |
404 #ifdef ASSERT |
404 #ifdef ASSERT |
405 // assert object can be fast path allocated |
405 // assert object can be fast path allocated |
406 { |
406 { |