diff options
author | Alon Zakai <azakai@google.com> | 2023-01-25 13:09:46 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-25 13:09:46 -0800 |
commit | 48c861523b21672a8ddb6216bab0e9e31b4abe7a (patch) | |
tree | b81845d884565717fcc91a7133aad44f471187d3 /src | |
parent | 5aa94e0d2fa397c178fe307537d36846683c22b7 (diff) | |
download | binaryen-48c861523b21672a8ddb6216bab0e9e31b4abe7a.tar.gz binaryen-48c861523b21672a8ddb6216bab0e9e31b4abe7a.tar.bz2 binaryen-48c861523b21672a8ddb6216bab0e9e31b4abe7a.zip |
Fix a typo in Flat IR validation logic (#5450)
`doVisitFunction` does not exist.
Diffstat (limited to 'src')
-rw-r--r-- | src/ir/flat.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir/flat.h b/src/ir/flat.h index 1a8722726..c4c8b2196 100644 --- a/src/ir/flat.h +++ b/src/ir/flat.h @@ -122,7 +122,7 @@ inline void verifyFlatness(Module* module) { return std::make_unique<VerifyFlatness>(); } - void doVisitFunction(Function* func) { verifyFlatness(func); } + void visitFunction(Function* func) { verifyFlatness(func); } }; PassRunner runner(module); |