src/cpu/x86/vm/c1_LIRAssembler_x86.cpp

changeset 3368
52b5d32fbfaf
parent 3156
f08d439fab8c
child 3400
22cee0ee8927
     1.1 --- a/src/cpu/x86/vm/c1_LIRAssembler_x86.cpp	Tue Nov 29 14:44:44 2011 -0500
     1.2 +++ b/src/cpu/x86/vm/c1_LIRAssembler_x86.cpp	Tue Dec 06 18:28:51 2011 -0500
     1.3 @@ -1557,7 +1557,7 @@
     1.4  
     1.5  void LIR_Assembler::emit_alloc_obj(LIR_OpAllocObj* op) {
     1.6    if (op->init_check()) {
     1.7 -    __ cmpl(Address(op->klass()->as_register(),
     1.8 +    __ cmpb(Address(op->klass()->as_register(),
     1.9                      instanceKlass::init_state_offset_in_bytes() + sizeof(oopDesc)),
    1.10              instanceKlass::fully_initialized);
    1.11      add_debug_info_for_null_check_here(op->stub()->info());

mercurial