diff options
Diffstat (limited to 'src/ir/flat.h')
-rw-r--r-- | src/ir/flat.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ir/flat.h b/src/ir/flat.h index b9d272bf5..749d4532d 100644 --- a/src/ir/flat.h +++ b/src/ir/flat.h @@ -114,9 +114,7 @@ inline void verifyFlatness(Module* module) { }; PassRunner runner(module); - runner.setIsNested(true); - runner.add<VerifyFlatness>(); - runner.run(); + VerifyFlatness().run(&runner, module); } } // namespace Flat |