Skip to content

Commit 48c8615

Browse files
authored
Fix a typo in Flat IR validation logic (#5450)
`doVisitFunction` does not exist.
1 parent 5aa94e0 commit 48c8615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ir/flat.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ inline void verifyFlatness(Module* module) {
122122
return std::make_unique<VerifyFlatness>();
123123
}
124124

125-
void doVisitFunction(Function* func) { verifyFlatness(func); }
125+
void visitFunction(Function* func) { verifyFlatness(func); }
126126
};
127127

128128
PassRunner runner(module);

0 commit comments

Comments
 (0)