diff options
author | chriseth <c@ethdev.com> | 2015-07-16 18:32:49 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-07-16 18:32:49 +0800 |
commit | 79a8effaa4f769ccfc567924d7e46a490e1961d5 (patch) | |
tree | 01e68d0fb0d4f97fe1c9488a0db473a226ffce57 | |
parent | 63d603bccc68981843df5f96c6a90f04ed3968a1 (diff) | |
parent | c7c5de4dd351fd4a21052dcefc630f006de1fb1b (diff) | |
download | dexon-solidity-79a8effaa4f769ccfc567924d7e46a490e1961d5.tar dexon-solidity-79a8effaa4f769ccfc567924d7e46a490e1961d5.tar.gz dexon-solidity-79a8effaa4f769ccfc567924d7e46a490e1961d5.tar.bz2 dexon-solidity-79a8effaa4f769ccfc567924d7e46a490e1961d5.tar.lz dexon-solidity-79a8effaa4f769ccfc567924d7e46a490e1961d5.tar.xz dexon-solidity-79a8effaa4f769ccfc567924d7e46a490e1961d5.tar.zst dexon-solidity-79a8effaa4f769ccfc567924d7e46a490e1961d5.zip |
Merge pull request #2480 from chriseth/sol_relaxStackHeightCheck
Allow one additional stack slot.
-rw-r--r-- | LValue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -41,7 +41,7 @@ StackVariable::StackVariable(CompilerContext& _compilerContext, Declaration cons void StackVariable::retrieveValue(SourceLocation const& _location, bool) const { unsigned stackPos = m_context.baseToCurrentStackOffset(m_baseStackOffset); - if (stackPos >= 15) //@todo correct this by fetching earlier or moving to memory + if (stackPos + 1 > 16) //@todo correct this by fetching earlier or moving to memory BOOST_THROW_EXCEPTION( CompilerError() << errinfo_sourceLocation(_location) << |