Merge pull request #9102 from ethereum/noForceViaYulIfDisallowed

Do not try compiling via yul if explicitly forbidden.
This commit is contained in:
chriseth 2020-06-02 20:17:32 +02:00 committed by GitHub
commit d323867678
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,6 +62,8 @@ SemanticTest::SemanticTest(string const& _filename, langutil::EVMVersion _evmVer
{
m_runWithYul = false;
m_runWithoutYul = true;
// Do not try to run via yul if explicitly denied.
m_enforceViaYul = false;
}
else
BOOST_THROW_EXCEPTION(runtime_error("Invalid compileViaYul value: " + choice + "."));