aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-06-23 17:30:02 +0800
committerGitHub <noreply@github.com>2017-06-23 17:30:02 +0800
commit50e8a887a4647e6f2981d43a85f3a7f9763e4146 (patch)
tree9c826c0fc5c70d6d67604d39d4b98a8ae32386d9 /libsolidity
parent793f05fa3f573f60e7a460245cd7b9cca37d67cc (diff)
parent58fca7215c2735a7697278ca7f0dd52393b2b301 (diff)
downloaddexon-solidity-50e8a887a4647e6f2981d43a85f3a7f9763e4146.tar.gz
dexon-solidity-50e8a887a4647e6f2981d43a85f3a7f9763e4146.tar.zst
dexon-solidity-50e8a887a4647e6f2981d43a85f3a7f9763e4146.zip
Merge pull request #2443 from ethereum/julia-asm-size
Support appendAssemblySize() in AbstractAssembly
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/inlineasm/AsmCodeGen.cpp5
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
{