aboutsummaryrefslogtreecommitdiffstats
path: root/libyul/optimiser/FunctionGrouper.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2019-01-08 22:37:30 +0800
committerGitHub <noreply@github.com>2019-01-08 22:37:30 +0800
commita0ca746cbb82196119b67b18aeb7d347b6a84248 (patch)
treef523e9a63aed68e1303b5883b79fb74665e9c94a /libyul/optimiser/FunctionGrouper.h
parent6414d63906d1a768d4f8829eca49d6020630a261 (diff)
parentf5b24a38b8006b66f5e5bed37e8041d87998eddf (diff)
downloaddexon-solidity-a0ca746cbb82196119b67b18aeb7d347b6a84248.tar.gz
dexon-solidity-a0ca746cbb82196119b67b18aeb7d347b6a84248.tar.zst
dexon-solidity-a0ca746cbb82196119b67b18aeb7d347b6a84248.zip
Merge pull request #5760 from ethereum/grouperIdempotent
Make function grouper idempotent.
Diffstat (limited to 'libyul/optimiser/FunctionGrouper.h')
-rw-r--r--libyul/optimiser/FunctionGrouper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libyul/optimiser/FunctionGrouper.h b/libyul/optimiser/FunctionGrouper.h
index 3b3f48a7..4b6abf76 100644
--- a/libyul/optimiser/FunctionGrouper.h
+++ b/libyul/optimiser/FunctionGrouper.h
@@ -38,6 +38,9 @@ class FunctionGrouper
{
public:
void operator()(Block& _block);
+
+private:
+ bool alreadyGrouped(Block const& _block);
};
}