mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-15 16:09:44 +00:00
8211219: Type inconsistency in LIRGenerator::atomic_cmpxchg(..)
Reviewed-by: eosterlund, iveresov
This commit is contained in:
parent
57b516dd0e
commit
e77e2d1df8
@ -688,7 +688,7 @@ LIR_Opr LIRGenerator::atomic_cmpxchg(BasicType type, LIR_Opr addr, LIRItem& cmp_
|
||||
}
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user