aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm/SemanticInformation.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-08-31 19:13:05 +0800
committerchriseth <chris@ethereum.org>2017-09-06 19:52:29 +0800
commit7c61a6daf2052afaba86ad52623028cc8e14572b (patch)
tree6c0ce07510043d242e9f5136db74091ed931e9d2 /libevmasm/SemanticInformation.h
parent41d0ad7a9c3b3a3ee26db0be9392b941b0803530 (diff)
downloaddexon-solidity-7c61a6daf2052afaba86ad52623028cc8e14572b.tar
dexon-solidity-7c61a6daf2052afaba86ad52623028cc8e14572b.tar.gz
dexon-solidity-7c61a6daf2052afaba86ad52623028cc8e14572b.tar.bz2
dexon-solidity-7c61a6daf2052afaba86ad52623028cc8e14572b.tar.lz
dexon-solidity-7c61a6daf2052afaba86ad52623028cc8e14572b.tar.xz
dexon-solidity-7c61a6daf2052afaba86ad52623028cc8e14572b.tar.zst
dexon-solidity-7c61a6daf2052afaba86ad52623028cc8e14572b.zip
Add view/pure information about instructions.
Diffstat (limited to 'libevmasm/SemanticInformation.h')
-rw-r--r--libevmasm/SemanticInformation.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libevmasm/SemanticInformation.h b/libevmasm/SemanticInformation.h
index 5b02061f..e5ea7c18 100644
--- a/libevmasm/SemanticInformation.h
+++ b/libevmasm/SemanticInformation.h
@@ -53,6 +53,8 @@ struct SemanticInformation
static bool invalidatesMemory(solidity::Instruction _instruction);
/// @returns true if the given instruction modifies storage (even indirectly).
static bool invalidatesStorage(solidity::Instruction _instruction);
+ static bool invalidInPureFunctions(solidity::Instruction _instruction);
+ static bool invalidInViewFunctions(solidity::Instruction _instruction);
};
}