Properly mark unreachable alt bodies as unreachable
This commit is contained in:
parent
572a4b71d5
commit
2c7f21c524
@ -512,6 +512,8 @@ fn make_phi_bindings(bcx: @block_ctxt, map: [exit_node],
|
||||
bcx.fcx.lllocals.insert(node_id, alloc);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
Unreachable(bcx);
|
||||
}
|
||||
ret success;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user