aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/LValue.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-09-22 00:55:58 +0800
committerchriseth <c@ethdev.com>2015-09-22 02:03:10 +0800
commit39d1e2bc06a5c39180681c78e8f6618f25da2bce (patch)
tree307fae58b63e129a3eac0a26d612878e5797a896 /libsolidity/LValue.cpp
parent34a81fd60e0218ef93813ffce22fb6d0ed4955e2 (diff)
downloaddexon-solidity-39d1e2bc06a5c39180681c78e8f6618f25da2bce.tar
dexon-solidity-39d1e2bc06a5c39180681c78e8f6618f25da2bce.tar.gz
dexon-solidity-39d1e2bc06a5c39180681c78e8f6618f25da2bce.tar.bz2
dexon-solidity-39d1e2bc06a5c39180681c78e8f6618f25da2bce.tar.lz
dexon-solidity-39d1e2bc06a5c39180681c78e8f6618f25da2bce.tar.xz
dexon-solidity-39d1e2bc06a5c39180681c78e8f6618f25da2bce.tar.zst
dexon-solidity-39d1e2bc06a5c39180681c78e8f6618f25da2bce.zip
Refactored annotations.
Diffstat (limited to 'libsolidity/LValue.cpp')
-rw-r--r--libsolidity/LValue.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libsolidity/LValue.cpp b/libsolidity/LValue.cpp
index 4bd38b49..81aaeb4d 100644
--- a/libsolidity/LValue.cpp
+++ b/libsolidity/LValue.cpp
@@ -31,7 +31,7 @@ using namespace dev;
using namespace solidity;
-StackVariable::StackVariable(CompilerContext& _compilerContext, Declaration const& _declaration):
+StackVariable::StackVariable(CompilerContext& _compilerContext, VariableDeclaration const& _declaration):
LValue(_compilerContext, *_declaration.annotation().type),
m_baseStackOffset(m_context.baseStackOffsetOfVariable(_declaration)),
m_size(m_dataType.sizeOnStack())
@@ -131,7 +131,7 @@ void MemoryItem::setToZero(SourceLocation const&, bool _removeReference) const
m_context << eth::Instruction::POP;
}
-StorageItem::StorageItem(CompilerContext& _compilerContext, Declaration const& _declaration):
+StorageItem::StorageItem(CompilerContext& _compilerContext, VariableDeclaration const& _declaration):
StorageItem(_compilerContext, *_declaration.annotation().type)
{
auto const& location = m_context.storageLocationOfVariable(_declaration);