mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix commented debug output code
This commit is contained in:
parent
f95388011b
commit
6b60e90cde
@ -196,13 +196,15 @@ ExpressionClasses::Id ExpressionClasses::tryToSimplify(Expression const& _expr)
|
|||||||
if (auto match = rules.findFirstMatch(_expr, *this))
|
if (auto match = rules.findFirstMatch(_expr, *this))
|
||||||
{
|
{
|
||||||
// Debug info
|
// Debug info
|
||||||
//cout << "Simplifying " << *_expr.item << "(";
|
if (false)
|
||||||
//for (Id arg: _expr.arguments)
|
{
|
||||||
// cout << fullDAGToString(arg) << ", ";
|
cout << "Simplifying " << *_expr.item << "(";
|
||||||
//cout << ")" << endl;
|
for (Id arg: _expr.arguments)
|
||||||
//cout << "with rule " << match->first.toString() << endl;
|
cout << fullDAGToString(arg) << ", ";
|
||||||
//ExpressionTemplate t(match->second());
|
cout << ")" << endl;
|
||||||
//cout << "to " << match->second().toString() << endl;
|
cout << "with rule " << match->pattern.toString() << endl;
|
||||||
|
cout << "to " << match->action().toString() << endl;
|
||||||
|
}
|
||||||
|
|
||||||
return rebuildExpression(ExpressionTemplate(match->action(), _expr.item->location()));
|
return rebuildExpression(ExpressionTemplate(match->action(), _expr.item->location()));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user