mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Option to activate the optimizer for solidity.
This commit is contained in:
+1
-1
@@ -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);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user