mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Filter log statements and remove gas comparison.
This commit is contained in:
@@ -1348,7 +1348,9 @@ void ProtoConverter::visit(Statement const& _x)
|
||||
m_output << "continue\n";
|
||||
break;
|
||||
case Statement::kLogFunc:
|
||||
visit(_x.log_func());
|
||||
// Log is a stateful statement since it writes to storage.
|
||||
if (!m_filterStatefulInstructions)
|
||||
visit(_x.log_func());
|
||||
break;
|
||||
case Statement::kCopyFunc:
|
||||
visit(_x.copy_func());
|
||||
|
||||
Reference in New Issue
Block a user