aboutsummaryrefslogtreecommitdiffstats
path: root/libjulia/backends/evm/AbstractAssembly.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-06-14 06:55:34 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-06-23 07:09:35 +0800
commit5cf2332d6d273e6c9ac4c2b2bdb41c18b9cbf535 (patch)
tree5178cafa24d2fd0be88deaf30ce7f6e8d5c19b82 /libjulia/backends/evm/AbstractAssembly.h
parent79ed529b3fc9fb03460ad3c8e6f1cb05434358b4 (diff)
downloaddexon-solidity-5cf2332d6d273e6c9ac4c2b2bdb41c18b9cbf535.tar.gz
dexon-solidity-5cf2332d6d273e6c9ac4c2b2bdb41c18b9cbf535.tar.zst
dexon-solidity-5cf2332d6d273e6c9ac4c2b2bdb41c18b9cbf535.zip
Support appendAssemblySize() in AbstractAssembly
Diffstat (limited to 'libjulia/backends/evm/AbstractAssembly.h')
-rw-r--r--libjulia/backends/evm/AbstractAssembly.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libjulia/backends/evm/AbstractAssembly.h b/libjulia/backends/evm/AbstractAssembly.h
index f667c1a7..cfc9b8a5 100644
--- a/libjulia/backends/evm/AbstractAssembly.h
+++ b/libjulia/backends/evm/AbstractAssembly.h
@@ -89,6 +89,9 @@ public:
/// Return from a subroutine.
/// @param _stackDiffAfter the stack adjustment after this instruction.
virtual void appendReturnsub(int _returns, int _stackDiffAfter = 0) = 0;
+
+ /// Append the assembled size as a constant.
+ virtual void appendAssemblySize() = 0;
};
enum class IdentifierContext { LValue, RValue };