diff options
author | chriseth <chris@ethereum.org> | 2017-09-02 01:58:38 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-09-06 19:52:29 +0800 |
commit | 15bdc48a73d1cbebb9f75830fd1abbd29f798c12 (patch) | |
tree | 153dae1f6330d96b8a894f18c4da92098226a120 /libevmasm | |
parent | c83768c4260979b6d30185ef19352d27b161c3b0 (diff) | |
download | dexon-solidity-15bdc48a73d1cbebb9f75830fd1abbd29f798c12.tar.gz dexon-solidity-15bdc48a73d1cbebb9f75830fd1abbd29f798c12.tar.zst dexon-solidity-15bdc48a73d1cbebb9f75830fd1abbd29f798c12.zip |
Rename and add anonymous namespace.
Diffstat (limited to 'libevmasm')
-rw-r--r-- | libevmasm/SemanticInformation.cpp | 2 | ||||
-rw-r--r-- | libevmasm/SemanticInformation.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libevmasm/SemanticInformation.cpp b/libevmasm/SemanticInformation.cpp index ceb3fbdd..e277a08d 100644 --- a/libevmasm/SemanticInformation.cpp +++ b/libevmasm/SemanticInformation.cpp @@ -189,7 +189,7 @@ bool SemanticInformation::invalidatesStorage(Instruction _instruction) } } -bool SemanticInformation::invalidInPureFunctions(Instruction _instruction) +bool SemanticInformation::readsFromState(Instruction _instruction) { switch (_instruction) { diff --git a/libevmasm/SemanticInformation.h b/libevmasm/SemanticInformation.h index e5ea7c18..963088d9 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 invalidInPureFunctions(solidity::Instruction _instruction); + static bool readsFromState(solidity::Instruction _instruction); static bool invalidInViewFunctions(solidity::Instruction _instruction); }; |