From 0b8060648eddceedbedebff27eb8a3362f95fe2d Mon Sep 17 00:00:00 2001 From: chriseth Date: Mon, 5 Feb 2018 18:16:08 +0100 Subject: Add comments to UnusedPruner --- libjulia/optimiser/UnusedPruner.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libjulia/optimiser/UnusedPruner.h') diff --git a/libjulia/optimiser/UnusedPruner.h b/libjulia/optimiser/UnusedPruner.h index 8b521232..73e8de7c 100644 --- a/libjulia/optimiser/UnusedPruner.h +++ b/libjulia/optimiser/UnusedPruner.h @@ -49,8 +49,10 @@ public: using ASTModifier::operator(); virtual void operator()(Block& _block) override; + // @returns true iff the code changed in the previous run. bool shouldRunAgain() const { return m_shouldRunAgain; } + // Run the pruner until the code does not change anymore. static void runUntilStabilised(Block& _ast); private: -- cgit