aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface/CompilerStack.h
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-12-01 18:44:13 +0800
committerchriseth <c@ethdev.com>2016-12-01 23:04:00 +0800
commitf1907bbb12ce6a65d781bee1e1faebd6cde261bd (patch)
treef9143adf130707bf3b977f34597cf45101b7ce56 /libsolidity/interface/CompilerStack.h
parent4c15c465efa1af104c368c63ee715fd1051c7ef4 (diff)
downloaddexon-solidity-f1907bbb12ce6a65d781bee1e1faebd6cde261bd.tar.gz
dexon-solidity-f1907bbb12ce6a65d781bee1e1faebd6cde261bd.tar.zst
dexon-solidity-f1907bbb12ce6a65d781bee1e1faebd6cde261bd.zip
Add the `_runs` parameter.
Diffstat (limited to 'libsolidity/interface/CompilerStack.h')
-rw-r--r--libsolidity/interface/CompilerStack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/interface/CompilerStack.h b/libsolidity/interface/CompilerStack.h
index 57c76133..f98a457a 100644
--- a/libsolidity/interface/CompilerStack.h
+++ b/libsolidity/interface/CompilerStack.h
@@ -120,7 +120,7 @@ public:
);
/// Parses and compiles the given source code.
/// @returns false on error.
- bool compile(std::string const& _sourceCode, bool _optimize = false);
+ bool compile(std::string const& _sourceCode, bool _optimize = false, unsigned _runs = 200);
/// Tries to translate all source files into a language suitable for formal analysis.
/// @param _errors list to store errors - defaults to the internal error list.