aboutsummaryrefslogtreecommitdiffstats
path: root/libevmasm
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-09-13 23:18:22 +0800
committerchriseth <chris@ethereum.org>2017-09-13 23:18:22 +0800
commit66c01301fe5cb71a2bf66af2f7170043f088815c (patch)
tree20a77eb55a2a1929b4056973a7a536dfb360e196 /libevmasm
parentb756274357c1e33517d535fdd2349a88221d4780 (diff)
downloaddexon-solidity-66c01301fe5cb71a2bf66af2f7170043f088815c.tar.gz
dexon-solidity-66c01301fe5cb71a2bf66af2f7170043f088815c.tar.zst
dexon-solidity-66c01301fe5cb71a2bf66af2f7170043f088815c.zip
Rename to invalidInPureFunctions
Diffstat (limited to 'libevmasm')
-rw-r--r--libevmasm/SemanticInformation.cpp2
-rw-r--r--libevmasm/SemanticInformation.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/libevmasm/SemanticInformation.cpp b/libevmasm/SemanticInformation.cpp
index e277a08d..ceb3fbdd 100644
--- a/libevmasm/SemanticInformation.cpp
+++ b/libevmasm/SemanticInformation.cpp
@@ -189,7 +189,7 @@ bool SemanticInformation::invalidatesStorage(Instruction _instruction)
}
}
-bool SemanticInformation::readsFromState(Instruction _instruction)
+bool SemanticInformation::invalidInPureFunctions(Instruction _instruction)
{
switch (_instruction)
{
diff --git a/libevmasm/SemanticInformation.h b/libevmasm/SemanticInformation.h
index 963088d9..e5ea7c18 100644
--- a/libevmasm/SemanticInformation.h
+++ b/libevmasm/SemanticInformation.h
@@ -53,7 +53,7 @@ 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 readsFromState(solidity::Instruction _instruction);
+ static bool invalidInPureFunctions(solidity::Instruction _instruction);
static bool invalidInViewFunctions(solidity::Instruction _instruction);
};