aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-06-26 22:27:12 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-06-27 04:48:17 +0800
commitab15040caa0b2b401f9bebc8d8247e8e6b6d1540 (patch)
tree71143bba13e5a0741f5cfe03f97daea05312cc93 /libsolidity
parentd94a12a34c4c3846a40002a4e3a79c2b1f0b6972 (diff)
downloaddexon-solidity-ab15040caa0b2b401f9bebc8d8247e8e6b6d1540.tar.gz
dexon-solidity-ab15040caa0b2b401f9bebc8d8247e8e6b6d1540.tar.zst
dexon-solidity-ab15040caa0b2b401f9bebc8d8247e8e6b6d1540.zip
Comment about zero length.
Diffstat (limited to 'libsolidity')
-rw-r--r--libsolidity/codegen/CompilerUtils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsolidity/codegen/CompilerUtils.h b/libsolidity/codegen/CompilerUtils.h
index caf2cdc2..0ee053a9 100644
--- a/libsolidity/codegen/CompilerUtils.h
+++ b/libsolidity/codegen/CompilerUtils.h
@@ -110,10 +110,12 @@ public:
void zeroInitialiseMemoryArray(ArrayType const& _type);
/// Copies full 32 byte words in memory (regions cannot overlap), i.e. may copy more than length.
+ /// Length can be zero, in this case, it copies nothing.
/// Stack pre: <size> <target> <source>
/// Stack post:
void memoryCopy32();
/// Copies data in memory (regions cannot overlap).
+ /// Length can be zero, in this case, it copies nothing.
/// Stack pre: <size> <target> <source>
/// Stack post:
void memoryCopy();