mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Make use of IR codegen pipeline and selectively report stack too deep errors for the new pipeline.
This commit is contained in:
parent
0f40bcc06d
commit
889f0721a2
@ -121,7 +121,7 @@ void FuzzerUtil::testCompiler(
|
||||
compiler.setSources(_input);
|
||||
compiler.setEVMVersion(evmVersion);
|
||||
compiler.setOptimiserSettings(optimiserSettings);
|
||||
compiler.enableIRGeneration(_compileViaYul);
|
||||
compiler.setViaIR(_compileViaYul);
|
||||
try
|
||||
{
|
||||
compiler.compile();
|
||||
@ -137,6 +137,8 @@ void FuzzerUtil::testCompiler(
|
||||
}
|
||||
catch (StackTooDeepError const&)
|
||||
{
|
||||
if (_optimize && _compileViaYul)
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user