aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/CompilerUtils.h
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-11-17 22:15:00 +0800
committerchriseth <c@ethdev.com>2015-11-26 20:10:12 +0800
commit879844dd0a9137602373c8f67f283a5895913732 (patch)
treeea084fcbf268c0a1644f62364c6d9713ed119604 /libsolidity/codegen/CompilerUtils.h
parentbf55aa6ae2b9aeec09bb8cf1e3715afd7dd59b7e (diff)
downloaddexon-solidity-879844dd0a9137602373c8f67f283a5895913732.tar.gz
dexon-solidity-879844dd0a9137602373c8f67f283a5895913732.tar.zst
dexon-solidity-879844dd0a9137602373c8f67f283a5895913732.zip
Code generation for creating arrays.
Diffstat (limited to 'libsolidity/codegen/CompilerUtils.h')
-rw-r--r--libsolidity/codegen/CompilerUtils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libsolidity/codegen/CompilerUtils.h b/libsolidity/codegen/CompilerUtils.h
index 6292e5c7..134afd78 100644
--- a/libsolidity/codegen/CompilerUtils.h
+++ b/libsolidity/codegen/CompilerUtils.h
@@ -103,6 +103,11 @@ public:
bool _encodeAsLibraryTypes = false
);
+ /// Zero-initialises (the data part of) an already allocated memory array.
+ /// Stack pre: <length> <memptr>
+ /// Stack post: <updated_memptr>
+ void zeroInitialiseMemoryArray(ArrayType const& _type);
+
/// Uses a CALL to the identity contract to perform a memory-to-memory copy.
/// Stack pre: <size> <target> <source>
/// Stack post: