aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/Assembly.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-09-20 00:29:43 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-09-26 18:14:40 +0800
commit535026b492bd57eff6a96a4252e5ab32f5711b54 (patch)
tree104495811fb4dd0bdbee7875e81907738e6c5006 /libevmasm/Assembly.h
parent608f36d77b0dc6d908d89fe3a1b8e1626df8391c (diff)
downloaddexon-solidity-535026b492bd57eff6a96a4252e5ab32f5711b54.tar.gz
dexon-solidity-535026b492bd57eff6a96a4252e5ab32f5711b54.tar.zst
dexon-solidity-535026b492bd57eff6a96a4252e5ab32f5711b54.zip
Group append() functions in libevmasm
Diffstat (limited to 'libevmasm/Assembly.h')
-rw-r--r--libevmasm/Assembly.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libevmasm/Assembly.h b/libevmasm/Assembly.h
index 1ed9b859..9278c929 100644
--- a/libevmasm/Assembly.h
+++ b/libevmasm/Assembly.h
@@ -59,8 +59,10 @@ public:
AssemblyItem newPushSubSize(u256 const& _subId) { return AssemblyItem(PushSubSize, _subId); }
AssemblyItem newPushLibraryAddress(std::string const& _identifier);
+ // These two are only used by liblll
void append(Assembly const& _a);
void append(Assembly const& _a, int _deposit);
+
AssemblyItem const& append(AssemblyItem const& _i);
AssemblyItem const& append(std::string const& _data) { return append(newPushString(_data)); }
AssemblyItem const& append(bytes const& _data) { return append(newData(_data)); }