aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/CompilerUtils.h
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-06-27 05:39:30 +0800
committerGitHub <noreply@github.com>2017-06-27 05:39:30 +0800
commitb0ab9aaee0b4629b08ba2ada7e67b4c5d728fd8c (patch)
tree25f8cac9db13ee06802ca8465fce5d116a9bf295 /libsolidity/codegen/CompilerUtils.h
parent751ba701bca0fbcae6d74cfdc23a4ac4a1c3dfab (diff)
parentab15040caa0b2b401f9bebc8d8247e8e6b6d1540 (diff)
downloaddexon-solidity-b0ab9aaee0b4629b08ba2ada7e67b4c5d728fd8c.tar
dexon-solidity-b0ab9aaee0b4629b08ba2ada7e67b4c5d728fd8c.tar.gz
dexon-solidity-b0ab9aaee0b4629b08ba2ada7e67b4c5d728fd8c.tar.bz2
dexon-solidity-b0ab9aaee0b4629b08ba2ada7e67b4c5d728fd8c.tar.lz
dexon-solidity-b0ab9aaee0b4629b08ba2ada7e67b4c5d728fd8c.tar.xz
dexon-solidity-b0ab9aaee0b4629b08ba2ada7e67b4c5d728fd8c.tar.zst
dexon-solidity-b0ab9aaee0b4629b08ba2ada7e67b4c5d728fd8c.zip
Merge pull request #2453 from ethereum/memcopyAsForLoop
Use for loop for assembly memcopy.
Diffstat (limited to 'libsolidity/codegen/CompilerUtils.h')
-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();