Tidy up calls to analyze_branch.

This commit is contained in:
Dan Gohman
2018-03-01 06:43:16 -08:00
parent 125270e2b0
commit 505fe9277a
7 changed files with 8 additions and 8 deletions

View File

@@ -693,7 +693,7 @@ impl<'a> Verifier<'a> {
}
fn typecheck_variable_args(&self, inst: Inst) -> Result {
match self.func.dfg[inst].analyze_branch(&self.func.dfg.value_lists) {
match self.func.dfg.analyze_branch(inst) {
BranchInfo::SingleDest(ebb, _) => {
let iter = self.func.dfg.ebb_params(ebb).iter().map(|&v| {
self.func.dfg.value_type(v)