mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #9102 from ethereum/noForceViaYulIfDisallowed
Do not try compiling via yul if explicitly forbidden.
This commit is contained in:
commit
d323867678
@ -62,6 +62,8 @@ SemanticTest::SemanticTest(string const& _filename, langutil::EVMVersion _evmVer
|
|||||||
{
|
{
|
||||||
m_runWithYul = false;
|
m_runWithYul = false;
|
||||||
m_runWithoutYul = true;
|
m_runWithoutYul = true;
|
||||||
|
// Do not try to run via yul if explicitly denied.
|
||||||
|
m_enforceViaYul = false;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
BOOST_THROW_EXCEPTION(runtime_error("Invalid compileViaYul value: " + choice + "."));
|
BOOST_THROW_EXCEPTION(runtime_error("Invalid compileViaYul value: " + choice + "."));
|
||||||
|
Loading…
Reference in New Issue
Block a user