Add the _runs parameter.

This commit is contained in:
chriseth
2016-12-01 16:04:00 +01:00
parent 4c15c465ef
commit f1907bbb12
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -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()