aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/AsmCodeGen.h
diff options
context:
space:
mode:
authorliangdzou <liang.d.zou@gmail.com>2018-09-25 10:47:25 +0800
committerchriseth <chris@ethereum.org>2018-12-10 21:28:56 +0800
commit362648a45042d74da4e631520c0be581902c871b (patch)
treea7f9d5df94b4d9ac8cbbc89e99c6d74d8d080732 /libsolidity/codegen/AsmCodeGen.h
parent6240d9e72a6f1696d7c37facf805af6ce2352ab2 (diff)
downloaddexon-solidity-362648a45042d74da4e631520c0be581902c871b.tar
dexon-solidity-362648a45042d74da4e631520c0be581902c871b.tar.gz
dexon-solidity-362648a45042d74da4e631520c0be581902c871b.tar.bz2
dexon-solidity-362648a45042d74da4e631520c0be581902c871b.tar.lz
dexon-solidity-362648a45042d74da4e631520c0be581902c871b.tar.xz
dexon-solidity-362648a45042d74da4e631520c0be581902c871b.tar.zst
dexon-solidity-362648a45042d74da4e631520c0be581902c871b.zip
Reuse stack slots in Yul to EVM code generation.
Diffstat (limited to 'libsolidity/codegen/AsmCodeGen.h')
-rw-r--r--libsolidity/codegen/AsmCodeGen.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libsolidity/codegen/AsmCodeGen.h b/libsolidity/codegen/AsmCodeGen.h
index 4c6d97f4..303d32ee 100644
--- a/libsolidity/codegen/AsmCodeGen.h
+++ b/libsolidity/codegen/AsmCodeGen.h
@@ -85,7 +85,8 @@ public:
yul::AsmAnalysisInfo& _analysisInfo,
dev::eth::Assembly& _assembly,
yul::ExternalIdentifierAccess const& _identifierAccess = yul::ExternalIdentifierAccess(),
- bool _useNamedLabelsForFunctions = false
+ bool _useNamedLabelsForFunctions = false,
+ bool _optimize = false
);
};