aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/ExpressionClasses.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-02-08 23:50:17 +0800
committerGitHub <noreply@github.com>2018-02-08 23:50:17 +0800
commit9b61fb2e99a29ae97f6c29bc7309d70622b73886 (patch)
tree97445fee1a1124a2296e76c76d20fa379c56409f /libevmasm/ExpressionClasses.h
parent63fb319db3dd927320d28bec2cbf926350cec01c (diff)
parent7dd99a62c56e50b3deeccd77588c3a65fe6f7107 (diff)
downloaddexon-solidity-9b61fb2e99a29ae97f6c29bc7309d70622b73886.tar
dexon-solidity-9b61fb2e99a29ae97f6c29bc7309d70622b73886.tar.gz
dexon-solidity-9b61fb2e99a29ae97f6c29bc7309d70622b73886.tar.bz2
dexon-solidity-9b61fb2e99a29ae97f6c29bc7309d70622b73886.tar.lz
dexon-solidity-9b61fb2e99a29ae97f6c29bc7309d70622b73886.tar.xz
dexon-solidity-9b61fb2e99a29ae97f6c29bc7309d70622b73886.tar.zst
dexon-solidity-9b61fb2e99a29ae97f6c29bc7309d70622b73886.zip
Merge pull request #3456 from ethereum/simplifier
Use simplification rules also for IULIA
Diffstat (limited to 'libevmasm/ExpressionClasses.h')
-rw-r--r--libevmasm/ExpressionClasses.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libevmasm/ExpressionClasses.h b/libevmasm/ExpressionClasses.h
index 6b426e97..df8082f9 100644
--- a/libevmasm/ExpressionClasses.h
+++ b/libevmasm/ExpressionClasses.h
@@ -108,8 +108,7 @@ public:
private:
/// Tries to simplify the given expression.
/// @returns its class if it possible or Id(-1) otherwise.
- /// @param _secondRun is set to true for the second run where arguments of commutative expressions are reversed
- Id tryToSimplify(Expression const& _expr, bool _secondRun = false);
+ Id tryToSimplify(Expression const& _expr);
/// Rebuilds an expression from a (matched) pattern.
Id rebuildExpression(ExpressionTemplate const& _template);