Reuse stack slots in Yul to EVM code generation.

This commit is contained in:
liangdzou
2018-12-10 14:28:56 +01:00
committed by chriseth
parent 6240d9e72a
commit 362648a450
11 changed files with 313 additions and 54 deletions
+2 -1
View File
@@ -73,7 +73,8 @@ public:
void optimize();
/// Run the assembly step (should only be called after parseAndAnalyze).
MachineAssemblyObject assemble(Machine _machine) const;
/// @param _optimize does not run the optimizer but performs optimized code generation.
MachineAssemblyObject assemble(Machine _machine, bool _optimize = false) const;
/// @returns the errors generated during parsing, analysis (and potentially assembly).
langutil::ErrorList const& errors() const { return m_errors; }