aboutsummaryrefslogtreecommitdiffstats
path: root/libjulia/optimiser/UnusedPruner.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2018-06-19 05:26:31 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2018-06-26 06:52:27 +0800
commit8fa8b2d08ee09f58fe94a11b7101a9a6873c622e (patch)
treeda2890e7d87ad9cd11d03ae9c3cdd35ce148fc42 /libjulia/optimiser/UnusedPruner.cpp
parent91db46b12867c48de8539b02fccd5fc06cf5d198 (diff)
downloaddexon-solidity-8fa8b2d08ee09f58fe94a11b7101a9a6873c622e.tar.gz
dexon-solidity-8fa8b2d08ee09f58fe94a11b7101a9a6873c622e.tar.zst
dexon-solidity-8fa8b2d08ee09f58fe94a11b7101a9a6873c622e.zip
Rename Julia to Yul in comments
Diffstat (limited to 'libjulia/optimiser/UnusedPruner.cpp')
-rw-r--r--libjulia/optimiser/UnusedPruner.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjulia/optimiser/UnusedPruner.cpp b/libjulia/optimiser/UnusedPruner.cpp
index 54e8fd6e..af503712 100644
--- a/libjulia/optimiser/UnusedPruner.cpp
+++ b/libjulia/optimiser/UnusedPruner.cpp
@@ -59,7 +59,7 @@ void UnusedPruner::operator()(Block& _block)
// Multi-variable declarations are special. We can only remove it
// if all vairables are unused and the right-hand-side is either
// movable or it return a single value. In the latter case, we
- // replace `let a := f()` by `pop(f())` (in pure IULIA, this will be
+ // replace `let a := f()` by `pop(f())` (in pure Yul, this will be
// `drop(f())`).
if (boost::algorithm::none_of(
varDecl.variables,
@@ -74,7 +74,7 @@ void UnusedPruner::operator()(Block& _block)
statement = Block{std::move(varDecl.location), {}};
}
else if (varDecl.variables.size() == 1)
- // In pure IULIA, this should be replaced by a function call to `drop`
+ // In pure Yul, this should be replaced by a function call to `drop`
// instead of `pop`.
statement = ExpressionStatement{varDecl.location, FunctionalInstruction{
varDecl.location,