mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Report all stack errors in the EVM code transform.
This commit is contained in:
committed by
chriseth
parent
f9753a5101
commit
579e4b5a69
@@ -59,14 +59,7 @@ map<YulString, int> CompilabilityChecker::run(
|
||||
builtinContext,
|
||||
_optimizeStackAllocation
|
||||
);
|
||||
try
|
||||
{
|
||||
transform(*_object.code);
|
||||
}
|
||||
catch (StackTooDeepError const&)
|
||||
{
|
||||
yulAssert(!transform.stackErrors().empty(), "Got stack too deep exception that was not stored.");
|
||||
}
|
||||
transform(*_object.code);
|
||||
|
||||
std::map<YulString, int> functions;
|
||||
for (StackTooDeepError const& error: transform.stackErrors())
|
||||
|
||||
Reference in New Issue
Block a user