aboutsummaryrefslogtreecommitdiffstats
path: root/CompilerContext.h
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-03-31 17:07:10 +0800
committerLiana Husikyan <liana@ethdev.com>2015-04-08 21:56:35 +0800
commitdf3ce3ad8f365ab7842823f4694490ad80a651c5 (patch)
tree45473f8b8cb807269abeba64199124bd7e58b0bc /CompilerContext.h
parent7eec25b6eb07f1549725884221402a6e692b46e1 (diff)
downloaddexon-solidity-df3ce3ad8f365ab7842823f4694490ad80a651c5.tar.gz
dexon-solidity-df3ce3ad8f365ab7842823f4694490ad80a651c5.tar.zst
dexon-solidity-df3ce3ad8f365ab7842823f4694490ad80a651c5.zip
some more tests
Diffstat (limited to 'CompilerContext.h')
-rw-r--r--CompilerContext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/CompilerContext.h b/CompilerContext.h
index 87f90d4c..e752d59b 100644
--- a/CompilerContext.h
+++ b/CompilerContext.h
@@ -83,6 +83,7 @@ public:
/// Converts an offset relative to the current stack height to a value that can be used later
/// with baseToCurrentStackOffset to point to the same stack element.
unsigned currentToBaseStackOffset(unsigned _offset) const;
+ /// @returns pair of slot and byte offset of the value inside this slot.
std::pair<u256, unsigned> getStorageLocationOfVariable(Declaration const& _declaration) const;
/// Appends a JUMPI instruction to a new tag and @returns the tag