Memory-storage copy.

This commit is contained in:
chriseth
2015-06-22 20:50:47 +02:00
parent ee520f6022
commit 2eabaa4716
2 changed files with 18 additions and 12 deletions
+2 -2
View File
@@ -724,8 +724,8 @@ void ExpressionCompiler::endVisit(MemberAccess const& _memberAccess)
case DataLocation::Storage:
setLValue<StorageArrayLength>(_memberAccess, type);
break;
default:
solAssert(false, "Unsupported array location.");
case DataLocation::Memory:
m_context << eth::Instruction::MLOAD;
break;
}
break;