tidy
This commit is contained in:
parent
09cbe588c3
commit
26ca0d1b3a
@ -163,8 +163,8 @@ impl MirPass for AddValidation {
|
||||
ValidationOperand { lval, ty, re, mutbl }
|
||||
};
|
||||
|
||||
// Emit an Acquire at the beginning of the given block. If we are in restricted emission mode
|
||||
// (mir_emit_validate=1), also emit a Release immediately after the Acquire.
|
||||
// Emit an Acquire at the beginning of the given block. If we are in restricted emission
|
||||
// mode (mir_emit_validate=1), also emit a Release immediately after the Acquire.
|
||||
let emit_acquire = |block: &mut BasicBlockData<'tcx>, source_info, operands: Vec<_>| {
|
||||
if operands.len() == 0 {
|
||||
return; // Nothing to do
|
||||
|
Loading…
x
Reference in New Issue
Block a user