fix step 1

This commit is contained in:
Graham Kelly 2024-02-04 14:37:03 -05:00
parent 2f1a25c569
commit 492ebc7cab

View file

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