mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #5777 from ethereum/windowsCodeSizeFix
Avoid redundant copy of Block due to implicit conversion to Statement in CodeSize visit.
This commit is contained in:
commit
94688d2fa2
@ -48,7 +48,7 @@ size_t CodeSize::codeSize(Expression const& _expression)
|
||||
size_t CodeSize::codeSize(Block const& _block)
|
||||
{
|
||||
CodeSize cs;
|
||||
cs.visit(_block);
|
||||
cs(_block);
|
||||
return cs.m_size;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user