mirror of
https://github.com/Noratrieb/uwucc.git
synced 2026-01-16 17:45:11 +01:00
clippy
This commit is contained in:
parent
2b39ddebb2
commit
b7108770b9
7 changed files with 28 additions and 23 deletions
|
|
@ -3,7 +3,7 @@ use rustc_hash::FxHashSet;
|
|||
use super::{BbIdx, Branch, Func, Location, Operand};
|
||||
use crate::ir::visit::Visitor;
|
||||
|
||||
pub fn traverse_postorder<'a>(func: &'a Func<'_>) -> Vec<BbIdx> {
|
||||
pub fn traverse_postorder(func: &Func<'_>) -> Vec<BbIdx> {
|
||||
// the final traversial, backwards.
|
||||
// the starting bb has to be visited last.
|
||||
let mut traversal = vec![BbIdx(0)];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue