From d94a12a34c4c3846a40002a4e3a79c2b1f0b6972 Mon Sep 17 00:00:00 2001 From: chriseth Date: Mon, 26 Jun 2017 09:19:11 +0200 Subject: [PATCH] Reformat. --- libsolidity/codegen/CompilerUtils.cpp | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/libsolidity/codegen/CompilerUtils.cpp b/libsolidity/codegen/CompilerUtils.cpp index 26eadf9d9..4edec1554 100644 --- a/libsolidity/codegen/CompilerUtils.cpp +++ b/libsolidity/codegen/CompilerUtils.cpp @@ -322,12 +322,15 @@ void CompilerUtils::memoryCopy() m_context.appendInlineAssembly(R"( { // copy 32 bytes at once - for {} iszero(lt(len, 32)) { - dst := add(dst, 32) - src := add(src, 32) - len := sub(len, 32) - } - { mstore(dst, mload(src)) } + for + {} + iszero(lt(len, 32)) + { + dst := add(dst, 32) + src := add(src, 32) + len := sub(len, 32) + } + { mstore(dst, mload(src)) } // copy the remainder (0 < len < 32) let mask := sub(exp(256, sub(32, len)), 1)