Change pretty-printing.
This commit is contained in:
parent
fab64de727
commit
d8b897e317
10 changed files with 10 additions and 10 deletions
|
|
@ -1255,7 +1255,7 @@ impl<'tcx> Debug for Operand<'tcx> {
|
|||
Constant(ref a) => write!(fmt, "{a:?}"),
|
||||
Copy(ref place) => write!(fmt, "copy {place:?}"),
|
||||
Move(ref place) => write!(fmt, "move {place:?}"),
|
||||
RuntimeChecks(checks) => write!(fmt, "const {checks:?}"),
|
||||
RuntimeChecks(checks) => write!(fmt, "{checks:?}"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@
|
|||
StorageLive(_21);
|
||||
StorageLive(_22);
|
||||
StorageLive(_23);
|
||||
switchInt(const UbChecks) -> [0: bb6, otherwise: bb5];
|
||||
switchInt(UbChecks) -> [0: bb6, otherwise: bb5];
|
||||
}
|
||||
|
||||
bb1: {
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@
|
|||
StorageLive(_21);
|
||||
StorageLive(_22);
|
||||
StorageLive(_23);
|
||||
switchInt(const UbChecks) -> [0: bb6, otherwise: bb5];
|
||||
switchInt(UbChecks) -> [0: bb6, otherwise: bb5];
|
||||
}
|
||||
|
||||
bb1: {
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
_4 = copy _2;
|
||||
- _0 = core::num::<impl u16>::unchecked_shl(move _3, move _4) -> [return: bb1, unwind unreachable];
|
||||
+ StorageLive(_5);
|
||||
+ switchInt(const UbChecks) -> [0: bb2, otherwise: bb1];
|
||||
+ switchInt(UbChecks) -> [0: bb2, otherwise: bb1];
|
||||
}
|
||||
|
||||
bb1: {
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
_4 = copy _2;
|
||||
- _0 = core::num::<impl u16>::unchecked_shl(move _3, move _4) -> [return: bb1, unwind continue];
|
||||
+ StorageLive(_5);
|
||||
+ switchInt(const UbChecks) -> [0: bb2, otherwise: bb1];
|
||||
+ switchInt(UbChecks) -> [0: bb2, otherwise: bb1];
|
||||
}
|
||||
|
||||
bb1: {
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
_4 = copy _2;
|
||||
- _0 = core::num::<impl i64>::unchecked_shr(move _3, move _4) -> [return: bb1, unwind unreachable];
|
||||
+ StorageLive(_5);
|
||||
+ switchInt(const UbChecks) -> [0: bb2, otherwise: bb1];
|
||||
+ switchInt(UbChecks) -> [0: bb2, otherwise: bb1];
|
||||
}
|
||||
|
||||
bb1: {
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@
|
|||
_4 = copy _2;
|
||||
- _0 = core::num::<impl i64>::unchecked_shr(move _3, move _4) -> [return: bb1, unwind continue];
|
||||
+ StorageLive(_5);
|
||||
+ switchInt(const UbChecks) -> [0: bb2, otherwise: bb1];
|
||||
+ switchInt(UbChecks) -> [0: bb2, otherwise: bb1];
|
||||
}
|
||||
|
||||
bb1: {
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
+ }
|
||||
+
|
||||
+ bb2: {
|
||||
+ assume(const UbChecks);
|
||||
+ assume(UbChecks);
|
||||
+ _4 = unreachable_unchecked::precondition_check() -> [return: bb1, unwind unreachable];
|
||||
+ }
|
||||
+
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
- bb2 (cleanup): {
|
||||
- resume;
|
||||
+ bb2: {
|
||||
+ assume(const UbChecks);
|
||||
+ assume(UbChecks);
|
||||
+ _4 = unreachable_unchecked::precondition_check() -> [return: bb1, unwind unreachable];
|
||||
+ }
|
||||
+
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
}
|
||||
|
||||
bb2: {
|
||||
- assume(const UbChecks);
|
||||
- assume(UbChecks);
|
||||
+ assume(const false);
|
||||
_4 = unreachable_unchecked::precondition_check() -> [return: bb1, unwind unreachable];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue