mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Add the _runs parameter.
This commit is contained in:
@@ -242,9 +242,9 @@ bool CompilerStack::compile(bool _optimize, unsigned _runs, map<string, h160> co
|
||||
return true;
|
||||
}
|
||||
|
||||
bool CompilerStack::compile(string const& _sourceCode, bool _optimize)
|
||||
bool CompilerStack::compile(string const& _sourceCode, bool _optimize, unsigned _runs)
|
||||
{
|
||||
return parse(_sourceCode) && compile(_optimize);
|
||||
return parse(_sourceCode) && compile(_optimize, _runs);
|
||||
}
|
||||
|
||||
void CompilerStack::link()
|
||||
|
||||
Reference in New Issue
Block a user