From 5cf2332d6d273e6c9ac4c2b2bdb41c18b9cbf535 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Tue, 13 Jun 2017 23:55:34 +0100 Subject: Support appendAssemblySize() in AbstractAssembly --- libsolidity/inlineasm/AsmCodeGen.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libsolidity') 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 { -- cgit