Change rustc_codegen_ssa's atomic_cmpxchg interface to return a pair of values
This commit is contained in:
committed by
Maybe Waffle
parent
5b8bc568d2
commit
6cf6139411
@@ -296,7 +296,7 @@ pub trait BuilderMethods<'a, 'tcx>:
|
||||
order: AtomicOrdering,
|
||||
failure_order: AtomicOrdering,
|
||||
weak: bool,
|
||||
) -> Self::Value;
|
||||
) -> (Self::Value, Self::Value);
|
||||
fn atomic_rmw(
|
||||
&mut self,
|
||||
op: AtomicRmwBinOp,
|
||||
|
||||
Reference in New Issue
Block a user