diff options
author | chriseth <chris@ethereum.org> | 2017-05-29 22:52:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-29 22:52:51 +0800 |
commit | 8b29cc55357b4eec12c771707ed4025d11ca4365 (patch) | |
tree | 7474badc8dfe8d7685b560ab9e9d5be1e50323dc /libsolidity/inlineasm/AsmAnalysisInfo.h | |
parent | 9822deeed9d0be1324d6b6bdbdf83ae7ebca9b69 (diff) | |
parent | 4af55c78ebcacb5cfda1b573253cac6e6824d67a (diff) | |
download | dexon-solidity-8b29cc55357b4eec12c771707ed4025d11ca4365.tar.gz dexon-solidity-8b29cc55357b4eec12c771707ed4025d11ca4365.tar.zst dexon-solidity-8b29cc55357b4eec12c771707ed4025d11ca4365.zip |
Merge pull request #2319 from ethereum/virtualBlocks
Introduce virtual blocks for function arguments.
Diffstat (limited to 'libsolidity/inlineasm/AsmAnalysisInfo.h')
-rw-r--r-- | libsolidity/inlineasm/AsmAnalysisInfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libsolidity/inlineasm/AsmAnalysisInfo.h b/libsolidity/inlineasm/AsmAnalysisInfo.h index 18382db0..78c1fbe0 100644 --- a/libsolidity/inlineasm/AsmAnalysisInfo.h +++ b/libsolidity/inlineasm/AsmAnalysisInfo.h @@ -24,6 +24,7 @@ #include <map> #include <memory> +#include <vector> namespace dev { @@ -55,6 +56,8 @@ struct AsmAnalysisInfo using Scopes = std::map<assembly::Block const*, std::shared_ptr<Scope>>; Scopes scopes; StackHeightInfo stackHeightInfo; + /// Virtual blocks which will be used for scopes for function arguments and return values. + std::map<FunctionDefinition const*, std::shared_ptr<assembly::Block const>> virtualBlocks; }; } |