From 879844dd0a9137602373c8f67f283a5895913732 Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 17 Nov 2015 15:15:00 +0100 Subject: Code generation for creating arrays. --- libsolidity/codegen/CompilerUtils.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libsolidity/codegen/CompilerUtils.h') 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: + /// Stack post: + void zeroInitialiseMemoryArray(ArrayType const& _type); + /// Uses a CALL to the identity contract to perform a memory-to-memory copy. /// Stack pre: /// Stack post: -- cgit v1.2.3