aboutsummaryrefslogtreecommitdiffstats
path: root/libjulia/optimiser
diff options
context:
space:
mode:
authorCryptomental <cryptomental.com@gmail.com>2018-07-10 15:18:59 +0800
committerCryptomental <cryptomental.com@gmail.com>2018-07-11 06:26:23 +0800
commit140dbfdbd8f4319d1d02339feea0a8636a3738e5 (patch)
tree7ab4a06da70cde7c253a1a0c82ccc085bf76efd5 /libjulia/optimiser
parent4116704442aff035acb5b707c6b211ac1f5524fe (diff)
downloaddexon-solidity-140dbfdbd8f4319d1d02339feea0a8636a3738e5.tar.gz
dexon-solidity-140dbfdbd8f4319d1d02339feea0a8636a3738e5.tar.zst
dexon-solidity-140dbfdbd8f4319d1d02339feea0a8636a3738e5.zip
Code, Changelog, ReleaseChecklist: Fix typos.
Refs: #4442
Diffstat (limited to 'libjulia/optimiser')
-rw-r--r--libjulia/optimiser/DataFlowAnalyzer.h2
-rw-r--r--libjulia/optimiser/SimplificationRules.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/libjulia/optimiser/DataFlowAnalyzer.h b/libjulia/optimiser/DataFlowAnalyzer.h
index 4cb3d4cd..66df2f48 100644
--- a/libjulia/optimiser/DataFlowAnalyzer.h
+++ b/libjulia/optimiser/DataFlowAnalyzer.h
@@ -56,7 +56,7 @@ protected:
/// Registers the assignment.
void handleAssignment(std::set<std::string> const& _names, Expression* _value);
- /// Clears information about the valuse assigned to the given variables,
+ /// Clears information about the values assigned to the given variables,
/// for example at points where control flow is merged.
void clearValues(std::set<std::string> const& _names);
diff --git a/libjulia/optimiser/SimplificationRules.cpp b/libjulia/optimiser/SimplificationRules.cpp
index 070d5484..a5e296c3 100644
--- a/libjulia/optimiser/SimplificationRules.cpp
+++ b/libjulia/optimiser/SimplificationRules.cpp
@@ -64,7 +64,7 @@ void SimplificationRules::addRule(SimplificationRule<Pattern> const& _rule)
SimplificationRules::SimplificationRules()
{
- // 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(PatternKind::Constant);
Pattern B(PatternKind::Constant);