From 7773bb3bd01ed6bda8712cdd3e8d8b44fad7ca99 Mon Sep 17 00:00:00 2001 From: Harikrishnan Mulackal Date: Fri, 2 Oct 2020 11:43:08 +0200 Subject: [PATCH] Fix typo: storage --- libsolidity/codegen/LValue.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsolidity/codegen/LValue.cpp b/libsolidity/codegen/LValue.cpp index 576a2d4c0..77e629c65 100644 --- a/libsolidity/codegen/LValue.cpp +++ b/libsolidity/codegen/LValue.cpp @@ -291,7 +291,7 @@ void StorageItem::storeValue(Type const& _sourceType, SourceLocation const& _loc // stack: value storage_ref multiplier // fetch old value m_context << Instruction::DUP2 << Instruction::SLOAD; - // stack: value storege_ref multiplier old_full_value + // stack: value storage_ref multiplier old_full_value // clear bytes in old value m_context << Instruction::DUP2 << ((u256(1) << (8 * m_dataType->storageBytes())) - 1) @@ -461,7 +461,7 @@ void StorageItem::setToZero(SourceLocation const&, bool _removeReference) const // stack: storage_ref multiplier // fetch old value m_context << Instruction::DUP2 << Instruction::SLOAD; - // stack: storege_ref multiplier old_full_value + // stack: storage_ref multiplier old_full_value // clear bytes in old value m_context << Instruction::SWAP1 << ((u256(1) << (8 * m_dataType->storageBytes())) - 1)