diff options
author | chriseth <chris@ethereum.org> | 2017-06-23 17:30:02 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-23 17:30:02 +0800 |
commit | 50e8a887a4647e6f2981d43a85f3a7f9763e4146 (patch) | |
tree | 9c826c0fc5c70d6d67604d39d4b98a8ae32386d9 /libjulia/backends/evm/AbstractAssembly.h | |
parent | 793f05fa3f573f60e7a460245cd7b9cca37d67cc (diff) | |
parent | 58fca7215c2735a7697278ca7f0dd52393b2b301 (diff) | |
download | dexon-solidity-50e8a887a4647e6f2981d43a85f3a7f9763e4146.tar dexon-solidity-50e8a887a4647e6f2981d43a85f3a7f9763e4146.tar.gz dexon-solidity-50e8a887a4647e6f2981d43a85f3a7f9763e4146.tar.bz2 dexon-solidity-50e8a887a4647e6f2981d43a85f3a7f9763e4146.tar.lz dexon-solidity-50e8a887a4647e6f2981d43a85f3a7f9763e4146.tar.xz 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 'libjulia/backends/evm/AbstractAssembly.h')
-rw-r--r-- | libjulia/backends/evm/AbstractAssembly.h | 3 |
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 }; |