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
38decf05dd
commit
a4d777643d
@ -295,7 +295,8 @@ optional<AnnotatedEventSignature> SemanticTest::matchEvent(util::h256 const& has
|
|||||||
|
|
||||||
frontend::OptimiserSettings SemanticTest::optimizerSettingsFor(RequiresYulOptimizer _requiresYulOptimizer)
|
frontend::OptimiserSettings SemanticTest::optimizerSettingsFor(RequiresYulOptimizer _requiresYulOptimizer)
|
||||||
{
|
{
|
||||||
switch (_requiresYulOptimizer) {
|
switch (_requiresYulOptimizer)
|
||||||
|
{
|
||||||
case RequiresYulOptimizer::False:
|
case RequiresYulOptimizer::False:
|
||||||
return OptimiserSettings::minimal();
|
return OptimiserSettings::minimal();
|
||||||
case RequiresYulOptimizer::MinimalStack:
|
case RequiresYulOptimizer::MinimalStack:
|
||||||
|
Loading…
Reference in New Issue
Block a user