aboutsummaryrefslogtreecommitdiffstats
path: root/Compiler.cpp
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-02-01 09:41:14 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-02-01 09:41:14 +0800
commit82bcb7e33a4a00be8145588615c0d7a812fd4ce2 (patch)
treed4940591385832188eb1ebefa002bb7601bf9d6b /Compiler.cpp
parentec7a9bf919c393b10a91f0bc77fe2932c66a0c6d (diff)
downloaddexon-solidity-82bcb7e33a4a00be8145588615c0d7a812fd4ce2.tar
dexon-solidity-82bcb7e33a4a00be8145588615c0d7a812fd4ce2.tar.gz
dexon-solidity-82bcb7e33a4a00be8145588615c0d7a812fd4ce2.tar.bz2
dexon-solidity-82bcb7e33a4a00be8145588615c0d7a812fd4ce2.tar.lz
dexon-solidity-82bcb7e33a4a00be8145588615c0d7a812fd4ce2.tar.xz
dexon-solidity-82bcb7e33a4a00be8145588615c0d7a812fd4ce2.tar.zst
dexon-solidity-82bcb7e33a4a00be8145588615c0d7a812fd4ce2.zip
Code generation for mapping state variable accessor
- Work in progress
Diffstat (limited to 'Compiler.cpp')
-rw-r--r--Compiler.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/Compiler.cpp b/Compiler.cpp
index 3c46d455..389f826b 100644
--- a/Compiler.cpp
+++ b/Compiler.cpp
@@ -240,10 +240,6 @@ bool Compiler::visit(VariableDeclaration const& _variableDeclaration)
m_context << m_context.getFunctionEntryLabel(_variableDeclaration);
ExpressionCompiler::appendStateVariableAccessor(m_context, _variableDeclaration);
- unsigned sizeOnStack = _variableDeclaration.getType()->getSizeOnStack();
- solAssert(sizeOnStack <= 15, "Stack too deep.");
- m_context << eth::dupInstruction(sizeOnStack + 1) << eth::Instruction::JUMP;
-
return false;
}