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))
|
||||
{
|
||||
// Debug info
|
||||
//cout << "Simplifying " << *_expr.item << "(";
|
||||
//for (Id arg: _expr.arguments)
|
||||
// cout << fullDAGToString(arg) << ", ";
|
||||
//cout << ")" << endl;
|
||||
//cout << "with rule " << match->first.toString() << endl;
|
||||
//ExpressionTemplate t(match->second());
|
||||
//cout << "to " << match->second().toString() << endl;
|
||||
if (false)
|
||||
{
|
||||
cout << "Simplifying " << *_expr.item << "(";
|
||||
for (Id arg: _expr.arguments)
|
||||
cout << fullDAGToString(arg) << ", ";
|
||||
cout << ")" << endl;
|
||||
cout << "with rule " << match->pattern.toString() << endl;
|
||||
cout << "to " << match->action().toString() << endl;
|
||||
}
|
||||
|
||||
return rebuildExpression(ExpressionTemplate(match->action(), _expr.item->location()));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user