summaryrefslogtreecommitdiffstats
path: root/tests/mir-opt/reference_prop.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mir-opt/reference_prop.rs')
-rw-r--r--tests/mir-opt/reference_prop.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/mir-opt/reference_prop.rs b/tests/mir-opt/reference_prop.rs
index 36134e019..1b9c8fe15 100644
--- a/tests/mir-opt/reference_prop.rs
+++ b/tests/mir-opt/reference_prop.rs
@@ -695,7 +695,7 @@ fn multiple_storage() {
// As there are multiple `StorageLive` statements for `x`, we cannot know if this `z`'s
// pointer address is the address of `x`, so do nothing.
let y = *z;
- Call(RET = opaque(y), retblock)
+ Call(RET = opaque(y), retblock, UnwindContinue())
}
retblock = {
@@ -723,7 +723,7 @@ fn dominate_storage() {
}
bb1 = {
let c = *r;
- Call(RET = opaque(c), bb2)
+ Call(RET = opaque(c), bb2, UnwindContinue())
}
bb2 = {
StorageDead(x);
@@ -759,18 +759,18 @@ fn maybe_dead(m: bool) {
bb1 = {
StorageDead(x);
StorageDead(y);
- Call(RET = opaque(u), bb2)
+ Call(RET = opaque(u), bb2, UnwindContinue())
}
bb2 = {
// As `x` may be `StorageDead`, `a` may be dangling, so we do nothing.
let z = *a;
- Call(RET = opaque(z), bb3)
+ Call(RET = opaque(z), bb3, UnwindContinue())
}
bb3 = {
// As `y` may be `StorageDead`, `b` may be dangling, so we do nothing.
// This implies that we also do not substitute `b` in `bb0`.
let t = *b;
- Call(RET = opaque(t), retblock)
+ Call(RET = opaque(t), retblock, UnwindContinue())
}
retblock = {
Return()