diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2017-06-27 05:39:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-27 05:39:30 +0800 |
commit | b0ab9aaee0b4629b08ba2ada7e67b4c5d728fd8c (patch) | |
tree | 25f8cac9db13ee06802ca8465fce5d116a9bf295 /libsolidity/codegen/CompilerUtils.h | |
parent | 751ba701bca0fbcae6d74cfdc23a4ac4a1c3dfab (diff) | |
parent | ab15040caa0b2b401f9bebc8d8247e8e6b6d1540 (diff) | |
download | dexon-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.h | 2 |
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(); |