From 65c31ecaeb66e186a0ab6aa6cb2c44ec1a35a868 Mon Sep 17 00:00:00 2001 From: chriseth Date: Thu, 18 Jan 2018 13:58:51 +0100 Subject: Remove recursive call to simplify with reversed arguments. (We now have explicit rules for that). --- libevmasm/ExpressionClasses.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libevmasm/ExpressionClasses.h') 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); -- cgit v1.2.3