mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Catch yul stack too deep error.
This commit is contained in:
parent
ca53394832
commit
f8775449c2
@ -29,6 +29,8 @@
|
||||
|
||||
#include <liblangutil/Exceptions.h>
|
||||
|
||||
#include <libyul/backends/evm/EVMCodeTransform.h>
|
||||
|
||||
#include <sstream>
|
||||
|
||||
using namespace std;
|
||||
@ -121,6 +123,11 @@ void FuzzerUtil::testCompiler(
|
||||
catch (StackTooDeepError const&)
|
||||
{
|
||||
}
|
||||
// If _compileViaYul is true, the yul
|
||||
// codegen may throw StackTooDeepError.
|
||||
catch (yul::StackTooDeepError const&)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
void FuzzerUtil::runCompiler(string const& _input, bool _quiet)
|
||||
|
Loading…
Reference in New Issue
Block a user