aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface/CompilerStack.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-07-17 18:54:02 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-07-26 22:17:07 +0800
commit30012db396793efad5dba9a2bbb64d34994709ce (patch)
tree6270037929123b5a95038a6bd7f3b6a305d516ac /libsolidity/interface/CompilerStack.cpp
parent6848199b66d9cadae901f71dcf944fe9aa927eeb (diff)
downloaddexon-solidity-30012db396793efad5dba9a2bbb64d34994709ce.tar.gz
dexon-solidity-30012db396793efad5dba9a2bbb64d34994709ce.tar.zst
dexon-solidity-30012db396793efad5dba9a2bbb64d34994709ce.zip
Add CompilerStack::setOptimiserSettings
Diffstat (limited to 'libsolidity/interface/CompilerStack.cpp')
-rw-r--r--libsolidity/interface/CompilerStack.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/libsolidity/interface/CompilerStack.cpp b/libsolidity/interface/CompilerStack.cpp
index 89e024b3..d5a4e554 100644
--- a/libsolidity/interface/CompilerStack.cpp
+++ b/libsolidity/interface/CompilerStack.cpp
@@ -262,15 +262,12 @@ vector<string> CompilerStack::contractNames() const
return contractNames;
}
-bool CompilerStack::compile(bool _optimize, unsigned _runs)
+bool CompilerStack::compile()
{
if (m_stackState < AnalysisSuccessful)
if (!parseAndAnalyze())
return false;
- m_optimize = _optimize;
- m_optimizeRuns = _runs;
-
map<ContractDefinition const*, eth::Assembly const*> compiledContracts;
for (Source const* source: m_sourceOrder)
for (ASTPointer<ASTNode> const& node: source->ast->nodes())