mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Remove recursive call to simplify with reversed arguments.
(We now have explicit rules for that).
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user