invalid funcs

This commit is contained in:
Graham Kelly 2024-02-04 14:45:12 -05:00
parent eca2e83f59
commit ff4d2aba3c

View file

@ -72,6 +72,7 @@ pub fn fixup_orders(m: &mut Module) {
i += 1; i += 1;
} }
assert_eq!(fs.len(),m.funcs.len()); assert_eq!(fs.len(),m.funcs.len());
fs.insert(Func::invalid(),Func::invalid());
reorder_funcs(m, &fs); reorder_funcs(m, &fs);
return; return;
} }