Properly mark unreachable alt bodies as unreachable

This commit is contained in:
Marijn Haverbeke 2011-09-23 23:37:15 +02:00
parent 572a4b71d5
commit 2c7f21c524

View File

@ -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;
}