diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-06-14 06:55:34 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2017-06-23 07:09:35 +0800 |
commit | 5cf2332d6d273e6c9ac4c2b2bdb41c18b9cbf535 (patch) | |
tree | 5178cafa24d2fd0be88deaf30ce7f6e8d5c19b82 /libsolidity | |
parent | 79ed529b3fc9fb03460ad3c8e6f1cb05434358b4 (diff) | |
download | dexon-solidity-5cf2332d6d273e6c9ac4c2b2bdb41c18b9cbf535.tar.gz dexon-solidity-5cf2332d6d273e6c9ac4c2b2bdb41c18b9cbf535.tar.zst dexon-solidity-5cf2332d6d273e6c9ac4c2b2bdb41c18b9cbf535.zip |
Support appendAssemblySize() in AbstractAssembly
Diffstat (limited to 'libsolidity')
-rw-r--r-- | libsolidity/inlineasm/AsmCodeGen.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libsolidity/inlineasm/AsmCodeGen.cpp b/libsolidity/inlineasm/AsmCodeGen.cpp index 3c7c62c6..2bbd1b70 100644 --- a/libsolidity/inlineasm/AsmCodeGen.cpp +++ b/libsolidity/inlineasm/AsmCodeGen.cpp @@ -121,6 +121,11 @@ public: solAssert(false, "RETURNSUB not implemented for EVM 1.0"); } + virtual void appendAssemblySize() override + { + m_assembly.appendProgramSize(); + } + private: LabelID assemblyTagToIdentifier(eth::AssemblyItem const& _tag) const { |