Option to activate the optimizer for solidity.

This commit is contained in:
Christian
2014-11-06 22:55:42 +01:00
parent 04726a4ee4
commit 225fc8e1b3
5 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ class CompilerStack
public:
/// Compile the given @a _sourceCode to bytecode. If a scanner is provided, it is used for
/// scanning the source code - this is useful for printing exception information.
static bytes compile(std::string const& _sourceCode, std::shared_ptr<Scanner> _scanner = std::shared_ptr<Scanner>());
static bytes compile(std::string const& _sourceCode, std::shared_ptr<Scanner> _scanner = std::shared_ptr<Scanner>(), bool _optimize = false);
};
}