diff options
author | chriseth <c@ethdev.com> | 2016-12-01 18:44:13 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-12-01 23:04:00 +0800 |
commit | f1907bbb12ce6a65d781bee1e1faebd6cde261bd (patch) | |
tree | f9143adf130707bf3b977f34597cf45101b7ce56 /libsolidity/interface/CompilerStack.cpp | |
parent | 4c15c465efa1af104c368c63ee715fd1051c7ef4 (diff) | |
download | dexon-solidity-f1907bbb12ce6a65d781bee1e1faebd6cde261bd.tar.gz dexon-solidity-f1907bbb12ce6a65d781bee1e1faebd6cde261bd.tar.zst dexon-solidity-f1907bbb12ce6a65d781bee1e1faebd6cde261bd.zip |
Add the `_runs` parameter.
Diffstat (limited to 'libsolidity/interface/CompilerStack.cpp')
-rw-r--r-- | libsolidity/interface/CompilerStack.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/interface/CompilerStack.cpp b/libsolidity/interface/CompilerStack.cpp index d79345f0..b4fd6d87 100644 --- a/libsolidity/interface/CompilerStack.cpp +++ b/libsolidity/interface/CompilerStack.cpp @@ -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() |