Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4763eaf

Browse files
author
The Miri Cronjob Bot
committed
fmt
1 parentdebf88a commit4763eaf

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‎

Lines changed: 7 additions & 2 deletions
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)

[8]ページ先頭

©2009-2025 Movatter.jp