mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #5628 from ethereum/structuralSimplifierCompilationFix
[Yul] Fix compilation for certain combinations of boost and gcc.
This commit is contained in:
commit
85291bcb2d
@ -55,7 +55,7 @@ void StructuralSimplifier::simplify(std::vector<yul::Statement>& _statements)
|
||||
if (expressionAlwaysTrue(*_ifStmt.condition))
|
||||
return {std::move(_ifStmt.body.statements)};
|
||||
else if (expressionAlwaysFalse(*_ifStmt.condition))
|
||||
return {{}};
|
||||
return {vector<Statement>{}};
|
||||
return {};
|
||||
},
|
||||
[](Switch& _switchStmt) -> OptionalStatements {
|
||||
|
Loading…
Reference in New Issue
Block a user