changeset 52031:ecb72543c632

8211219: Type inconsistency in LIRGenerator::atomic_cmpxchg(..) Reviewed-by: eosterlund, iveresov
author rkennke
date Thu, 27 Sep 2018 13:56:09 +0200
parents 57862a02bf4b
children 2f7a2e7c3221
files src/hotspot/cpu/x86/c1_LIRGenerator_x86.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }