Apply the optimize commandline parameter to assembly mode.

This commit is contained in:
chriseth
2018-11-30 23:39:05 +01:00
parent cc00d8172b
commit 6c44c5f0c9
5 changed files with 34 additions and 6 deletions
+3
View File
@@ -69,6 +69,9 @@ public:
/// Multiple calls overwrite the previous state.
bool parseAndAnalyze(std::string const& _sourceName, std::string const& _source);
/// Run the optimizer suite. Can only be used with Yul or strict assembly.
void optimize();
/// Run the assembly step (should only be called after parseAndAnalyze).
MachineAssemblyObject assemble(Machine _machine) const;