From 58cc6cbb379015d57b8f6dec3b4a5c207ccb6b0b Mon Sep 17 00:00:00 2001 From: chriseth Date: Thu, 28 Jul 2016 17:19:17 +0200 Subject: Bugfix: Allocate empty array. --- libsolidity/codegen/CompilerUtils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libsolidity/codegen/CompilerUtils.h') diff --git a/libsolidity/codegen/CompilerUtils.h b/libsolidity/codegen/CompilerUtils.h index 55254013..da74dc90 100644 --- a/libsolidity/codegen/CompilerUtils.h +++ b/libsolidity/codegen/CompilerUtils.h @@ -104,6 +104,7 @@ public: ); /// Zero-initialises (the data part of) an already allocated memory array. + /// Length has to be nonzero! /// Stack pre: /// Stack post: void zeroInitialiseMemoryArray(ArrayType const& _type); -- cgit v1.2.3