aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/CompilerUtils.h
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-07-29 22:58:25 +0800
committerGitHub <noreply@github.com>2016-07-29 22:58:25 +0800
commit56727d61a61e1485c8360f00700d766632ec7163 (patch)
tree5f838b1813be0088e459c205af14cd04392a138b /libsolidity/codegen/CompilerUtils.h
parentea4fd3c6e25517180a773a6e4b51de0505e781ec (diff)
parent58cc6cbb379015d57b8f6dec3b4a5c207ccb6b0b (diff)
downloaddexon-solidity-56727d61a61e1485c8360f00700d766632ec7163.tar
dexon-solidity-56727d61a61e1485c8360f00700d766632ec7163.tar.gz
dexon-solidity-56727d61a61e1485c8360f00700d766632ec7163.tar.bz2
dexon-solidity-56727d61a61e1485c8360f00700d766632ec7163.tar.lz
dexon-solidity-56727d61a61e1485c8360f00700d766632ec7163.tar.xz
dexon-solidity-56727d61a61e1485c8360f00700d766632ec7163.tar.zst
dexon-solidity-56727d61a61e1485c8360f00700d766632ec7163.zip
Merge pull request #756 from chriseth/alloczero
Bugfix: Allocate empty array.
Diffstat (limited to 'libsolidity/codegen/CompilerUtils.h')
-rw-r--r--libsolidity/codegen/CompilerUtils.h1
1 files changed, 1 insertions, 0 deletions
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: <length> <memptr>
/// Stack post: <updated_memptr>
void zeroInitialiseMemoryArray(ArrayType const& _type);