src/hotspot/share/c1/c1_LIRGenerator.cpp
changeset 58925 9bbe560e8131
parent 58537 30a9612a657d
equal deleted inserted replaced
58924:c41d1303a87c 58925:9bbe560e8131
  1299   if (x->needs_null_check()) {
  1299   if (x->needs_null_check()) {
  1300     info = state_for(x);
  1300     info = state_for(x);
  1301   }
  1301   }
  1302 
  1302 
  1303   __ move(new LIR_Address(rcvr.result(), java_lang_Class::klass_offset_in_bytes(), T_ADDRESS), temp, info);
  1303   __ move(new LIR_Address(rcvr.result(), java_lang_Class::klass_offset_in_bytes(), T_ADDRESS), temp, info);
  1304   __ cmp(lir_cond_notEqual, temp, LIR_OprFact::intConst(0));
  1304   __ cmp(lir_cond_notEqual, temp, LIR_OprFact::metadataConst(0));
  1305   __ cmove(lir_cond_notEqual, LIR_OprFact::intConst(0), LIR_OprFact::intConst(1), result, T_BOOLEAN);
  1305   __ cmove(lir_cond_notEqual, LIR_OprFact::intConst(0), LIR_OprFact::intConst(1), result, T_BOOLEAN);
  1306 }
  1306 }
  1307 
  1307 
  1308 
  1308 
  1309 // Example: Thread.currentThread()
  1309 // Example: Thread.currentThread()