mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #6339 from ethereum/lll-test-fix
Fix LLL tests using the opimiser
This commit is contained in:
commit
ebb8c1758e
@ -56,7 +56,12 @@ public:
|
||||
BOOST_REQUIRE(_libraryAddresses.empty());
|
||||
|
||||
std::vector<std::string> errors;
|
||||
bytes bytecode = lll::compileLLL(_sourceCode, dev::test::Options::get().evmVersion(), m_optimize, &errors);
|
||||
bytes bytecode = lll::compileLLL(
|
||||
_sourceCode,
|
||||
dev::test::Options::get().evmVersion(),
|
||||
m_optimiserSettings == solidity::OptimiserSettings::enabled(),
|
||||
&errors
|
||||
);
|
||||
if (!errors.empty())
|
||||
{
|
||||
for (auto const& error: errors)
|
||||
|
Loading…
Reference in New Issue
Block a user