mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add CompilerStack::setOptimiserSettings
This commit is contained in:
@@ -779,7 +779,9 @@ bool CommandLineInterface::processInput()
|
||||
// TODO: Perhaps we should not compile unless requested
|
||||
bool optimize = m_args.count(g_argOptimize) > 0;
|
||||
unsigned runs = m_args[g_argOptimizeRuns].as<unsigned>();
|
||||
bool successful = m_compiler->compile(optimize, runs);
|
||||
m_compiler->setOptimiserSettings(optimize, runs);
|
||||
|
||||
bool successful = m_compiler->compile();
|
||||
|
||||
for (auto const& error: m_compiler->errors())
|
||||
SourceReferenceFormatter::printExceptionInformation(
|
||||
|
||||
Reference in New Issue
Block a user