Properly mark unreachable alt bodies as unreachable
This commit is contained in:
parent
572a4b71d5
commit
2c7f21c524
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue