mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Fix: Optimiser was enabled by default.
This commit is contained in:
parent
a53859e309
commit
a418656615
@ -412,8 +412,6 @@ bool CommandLineInterface::processInput()
|
|||||||
// TODO: Perhaps we should not compile unless requested
|
// TODO: Perhaps we should not compile unless requested
|
||||||
bool optimize = m_args["optimize"].as<bool>();
|
bool optimize = m_args["optimize"].as<bool>();
|
||||||
unsigned runs = m_args["optimize-runs"].as<unsigned>();
|
unsigned runs = m_args["optimize-runs"].as<unsigned>();
|
||||||
if (m_args.count("optimize-runs"))
|
|
||||||
optimize = true;
|
|
||||||
m_compiler->compile(optimize, runs);
|
m_compiler->compile(optimize, runs);
|
||||||
}
|
}
|
||||||
catch (ParserError const& _exception)
|
catch (ParserError const& _exception)
|
||||||
|
Loading…
Reference in New Issue
Block a user