mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
fixup! Change semantic tests to use the proper via IR pipeline, without rerunning on exceptions
This commit is contained in:
parent
a4d777643d
commit
1bb596096b
@ -669,14 +669,15 @@ void SemanticTest::printUpdatedExpectations(ostream& _stream, string const&) con
|
||||
void SemanticTest::printUpdatedSettings(ostream& _stream, string const& _linePrefix)
|
||||
{
|
||||
auto& settings = m_reader.settings();
|
||||
if (settings.empty())
|
||||
if (settings.empty() && m_requiresYulOptimizer == RequiresYulOptimizer::False)
|
||||
return;
|
||||
|
||||
_stream << _linePrefix << "// ====" << endl;
|
||||
if (m_requiresYulOptimizer != RequiresYulOptimizer::False)
|
||||
_stream << _linePrefix << "// requiresYulOptimizer: " << m_requiresYulOptimizer << endl;
|
||||
|
||||
for (auto const& [settingName, settingValue]: settings)
|
||||
if (settingName == "requiresYulOptimizer")
|
||||
_stream << _linePrefix << "// " << settingName << ": " << m_requiresYulOptimizer << endl;
|
||||
else
|
||||
if (settingName != "requiresYulOptimizer")
|
||||
_stream << _linePrefix << "// " << settingName << ": " << settingValue<< endl;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user