aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-04-22 01:13:46 +0800
committerchriseth <chris@ethereum.org>2017-04-25 22:49:04 +0800
commit478f2997ea8b233882d33e693a0e8df176a0c222 (patch)
tree2e18e560a737d85048d08884482426f439235eea /libsolidity/ast
parent5f4b68e211a10af513d53cd2b9586191e174423d (diff)
downloaddexon-solidity-478f2997ea8b233882d33e693a0e8df176a0c222.tar.gz
dexon-solidity-478f2997ea8b233882d33e693a0e8df176a0c222.tar.zst
dexon-solidity-478f2997ea8b233882d33e693a0e8df176a0c222.zip
Storage access from inline assembly.
Diffstat (limited to 'libsolidity/ast')
-rw-r--r--libsolidity/ast/ASTAnnotations.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsolidity/ast/ASTAnnotations.h b/libsolidity/ast/ASTAnnotations.h
index 48524be3..0b6c8991 100644
--- a/libsolidity/ast/ASTAnnotations.h
+++ b/libsolidity/ast/ASTAnnotations.h
@@ -122,6 +122,8 @@ struct InlineAssemblyAnnotation: StatementAnnotation
struct ExternalIdentifierInfo
{
Declaration const* declaration = nullptr;
+ bool isSlot = false; ///< Whether the storage slot of a variable is queried.
+ bool isOffset = false; ///< Whether the intra-slot offset of a storage variable is queried.
size_t valueSize = size_t(-1);
};