8211219: Type inconsistency in LIRGenerator::atomic_cmpxchg(..)
authorrkennke
Thu, 27 Sep 2018 13:56:09 +0200
changeset 52031 ecb72543c632
parent 52030 57862a02bf4b
child 52032 2f7a2e7c3221
8211219: Type inconsistency in LIRGenerator::atomic_cmpxchg(..) Reviewed-by: eosterlund, iveresov
src/hotspot/cpu/x86/c1_LIRGenerator_x86.cpp
--- a/src/hotspot/cpu/x86/c1_LIRGenerator_x86.cpp	Fri Oct 05 18:56:11 2018 -0400
+++ b/src/hotspot/cpu/x86/c1_LIRGenerator_x86.cpp	Thu Sep 27 13:56:09 2018 +0200
@@ -688,7 +688,7 @@
   }
   LIR_Opr result = new_register(T_INT);
   __ cmove(lir_cond_equal, LIR_OprFact::intConst(1), LIR_OprFact::intConst(0),
-           result, type);
+           result, T_INT);
   return result;
 }