Skip to content

Commit 4763eaf

Browse files
author
The Miri Cronjob Bot
committed
fmt
1 parent debf88a commit 4763eaf

File tree

1 file changed

+7
-2
lines changed
  • src/tools/miri/src/shims/x86

1 file changed

+7
-2
lines changed

src/tools/miri/src/shims/x86/mod.rs

+7-2
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,14 @@ pub(super) trait EvalContextExt<'mir, 'tcx: 'mir>:
7979
let a = this.read_immediate(a)?;
8080
let b = this.read_immediate(b)?;
8181

82-
let (sub, overflow1) = this.binary_op(mir::BinOp::SubWithOverflow, &a, &b)?.to_pair(this);
82+
let (sub, overflow1) =
83+
this.binary_op(mir::BinOp::SubWithOverflow, &a, &b)?.to_pair(this);
8384
let (sub, overflow2) = this
84-
.binary_op(mir::BinOp::SubWithOverflow, &sub, &ImmTy::from_uint(b_in, a.layout))?
85+
.binary_op(
86+
mir::BinOp::SubWithOverflow,
87+
&sub,
88+
&ImmTy::from_uint(b_in, a.layout),
89+
)?
8590
.to_pair(this);
8691
let b_out = overflow1.to_scalar().to_bool()? | overflow2.to_scalar().to_bool()?;
8792

0 commit comments

Comments
 (0)