diff options
author | chriseth <chris@ethereum.org> | 2018-07-11 17:52:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-11 17:52:22 +0800 |
commit | 07910c80cb42a717212cf6b0a4c405eff20e6051 (patch) | |
tree | 7ab4a06da70cde7c253a1a0c82ccc085bf76efd5 /libevmasm | |
parent | d84976dc871a1fdfab233650b989af69e325bf2b (diff) | |
parent | 140dbfdbd8f4319d1d02339feea0a8636a3738e5 (diff) | |
download | dexon-solidity-07910c80cb42a717212cf6b0a4c405eff20e6051.tar.gz dexon-solidity-07910c80cb42a717212cf6b0a4c405eff20e6051.tar.zst dexon-solidity-07910c80cb42a717212cf6b0a4c405eff20e6051.zip |
Merge pull request #4462 from cryptomental/feature/add-codespell
Feature/add codespell
Diffstat (limited to 'libevmasm')
-rw-r--r-- | libevmasm/ControlFlowGraph.h | 2 | ||||
-rw-r--r-- | libevmasm/LinkerObject.cpp | 2 | ||||
-rw-r--r-- | libevmasm/RuleList.h | 2 | ||||
-rw-r--r-- | libevmasm/SimplificationRules.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/libevmasm/ControlFlowGraph.h b/libevmasm/ControlFlowGraph.h index ebef543f..f0c9356c 100644 --- a/libevmasm/ControlFlowGraph.h +++ b/libevmasm/ControlFlowGraph.h @@ -39,7 +39,7 @@ using KnownStatePointer = std::shared_ptr<KnownState>; /** * Identifier for a block, coincides with the tag number of an AssemblyItem but adds a special - * ID for the inital block. + * ID for the initial block. */ class BlockId { diff --git a/libevmasm/LinkerObject.cpp b/libevmasm/LinkerObject.cpp index 8b7d9e06..1d5efecb 100644 --- a/libevmasm/LinkerObject.cpp +++ b/libevmasm/LinkerObject.cpp @@ -68,7 +68,7 @@ LinkerObject::matchLibrary( if (it != _libraryAddresses.end()) return &it->second; // If the user did not supply a fully qualified library name, - // try to match only the simple libary name + // try to match only the simple library name size_t colon = _linkRefName.find(':'); if (colon == string::npos) return nullptr; diff --git a/libevmasm/RuleList.h b/libevmasm/RuleList.h index 2b7da01b..7a2bc484 100644 --- a/libevmasm/RuleList.h +++ b/libevmasm/RuleList.h @@ -59,7 +59,7 @@ std::vector<SimplificationRule<Pattern>> simplificationRuleList( { std::vector<SimplificationRule<Pattern>> rules; rules += std::vector<SimplificationRule<Pattern>>{ - // arithmetics on constants + // arithmetic on constants {{Instruction::ADD, {A, B}}, [=]{ return A.d() + B.d(); }, false}, {{Instruction::MUL, {A, B}}, [=]{ return A.d() * B.d(); }, false}, {{Instruction::SUB, {A, B}}, [=]{ return A.d() - B.d(); }, false}, diff --git a/libevmasm/SimplificationRules.cpp b/libevmasm/SimplificationRules.cpp index 53a5f9fc..504dbc24 100644 --- a/libevmasm/SimplificationRules.cpp +++ b/libevmasm/SimplificationRules.cpp @@ -67,7 +67,7 @@ void Rules::addRule(SimplificationRule<Pattern> const& _rule) Rules::Rules() { - // Multiple occurences of one of these inside one rule must match the same equivalence class. + // Multiple occurrences of one of these inside one rule must match the same equivalence class. // Constants. Pattern A(Push); Pattern B(Push); |