mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Do not try compiling via yul if explicitly forbidden.
This commit is contained in:
parent
17e2040997
commit
8ab8d5b1b0
@ -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