mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #14188 from ethereum/fuzz-ir-pipeline
Make use of IR codegen pipeline and selectively report stack too deep…
This commit is contained in:
commit
41742c5410
@ -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