diff options
author | chriseth <chris@ethereum.org> | 2017-03-23 02:02:27 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-04-25 22:49:03 +0800 |
commit | 83bf34c571023cb264c56b3bd791a6fd9ebc3bf2 (patch) | |
tree | d53c3fe163612ef162a2b474b9e6f21fe1576112 /libsolidity/inlineasm/AsmAnalysis.h | |
parent | 3f1f0316c686f46600f3ab9ed4c65cda9bcc8a58 (diff) | |
download | dexon-solidity-83bf34c571023cb264c56b3bd791a6fd9ebc3bf2.tar dexon-solidity-83bf34c571023cb264c56b3bd791a6fd9ebc3bf2.tar.gz dexon-solidity-83bf34c571023cb264c56b3bd791a6fd9ebc3bf2.tar.bz2 dexon-solidity-83bf34c571023cb264c56b3bd791a6fd9ebc3bf2.tar.lz dexon-solidity-83bf34c571023cb264c56b3bd791a6fd9ebc3bf2.tar.xz dexon-solidity-83bf34c571023cb264c56b3bd791a6fd9ebc3bf2.tar.zst dexon-solidity-83bf34c571023cb264c56b3bd791a6fd9ebc3bf2.zip |
Review comments and cleanup.
Diffstat (limited to 'libsolidity/inlineasm/AsmAnalysis.h')
-rw-r--r-- | libsolidity/inlineasm/AsmAnalysis.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libsolidity/inlineasm/AsmAnalysis.h b/libsolidity/inlineasm/AsmAnalysis.h index cfc9b25a..ed357561 100644 --- a/libsolidity/inlineasm/AsmAnalysis.h +++ b/libsolidity/inlineasm/AsmAnalysis.h @@ -82,8 +82,9 @@ private: bool expectDeposit(int _deposit, int _oldHeight, SourceLocation const& _location); Scope& scope(assembly::Block const* _block); - /// Number of excess stack slots generated by function arguments to take into account for - /// next block. + /// This is used when we enter the body of a function definition. There, the parameters + /// and return parameters appear as variables which are already on the stack before + /// we enter the block. int m_virtualVariablesInNextBlock = 0; int m_stackHeight = 0; ExternalIdentifierAccess::Resolver const& m_resolver; |