Tidy up calls to analyze_branch.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user