Skip to content

Commit 8fa8b2d

Browse files
committed
Rename Julia to Yul in comments
1 parent 91db46b commit 8fa8b2d

8 files changed

Lines changed: 11 additions & 11 deletions

File tree

libjulia/Exceptions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
1717
/**
18-
* Exceptions in Julia.
18+
* Exceptions in Yul.
1919
*/
2020

2121
#pragma once

libjulia/backends/evm/AbstractAssembly.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ namespace julia
4242
{
4343

4444
///
45-
/// Assembly class that abstracts both the libevmasm assembly and the new julia evm assembly.
45+
/// Assembly class that abstracts both the libevmasm assembly and the new Yul assembly.
4646
///
4747
class AbstractAssembly
4848
{

libjulia/backends/evm/EVMCodeTransform.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
1717
/**
18-
* Common code generator for translating Julia / inline assembly to EVM and EVM1.5.
18+
* Common code generator for translating Yul / inline assembly to EVM and EVM1.5.
1919
*/
2020

2121
#include <libjulia/backends/evm/EVMCodeTransform.h>

libjulia/backends/evm/EVMCodeTransform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
along with solidity. If not, see <http://www.gnu.org/licenses/>.
1616
*/
1717
/**
18-
* Common code generator for translating Julia / inline assembly to EVM and EVM1.5.
18+
* Common code generator for translating Yul / inline assembly to EVM and EVM1.5.
1919
*/
2020

2121
#include <libjulia/backends/evm/EVMAssembly.h>

libjulia/optimiser/ASTCopier.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class StatementCopier: public boost::static_visitor<Statement>
6262
};
6363

6464
/**
65-
* Creates a copy of a iulia AST potentially replacing identifier names.
65+
* Creates a copy of a Yul AST potentially replacing identifier names.
6666
* Base class to be extended.
6767
*/
6868
class ASTCopier: public ExpressionCopier, public StatementCopier

libjulia/optimiser/Disambiguator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ namespace julia
3838
{
3939

4040
/**
41-
* Creates a copy of a iulia AST replacing all identifiers by unique names.
41+
* Creates a copy of a Yul AST replacing all identifiers by unique names.
4242
*/
4343
class Disambiguator: public ASTCopier
4444
{

libjulia/optimiser/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
## IULIA Optimiser
1+
## Yul Optimiser
22

3-
The iulia optimiser consists of several stages and components that all transform
3+
The Yul optimiser consists of several stages and components that all transform
44
the AST in a semantically equivalent way. The goal is to end up either with code
55
that is shorter or at least only marginally longer but will allow further
66
optimisation steps.
@@ -81,7 +81,7 @@ a loop or conditional, the first one is not inside), the first assignment is rem
8181

8282
## Expression Simplifier
8383

84-
This step can only be applied for the EVM-flavoured dialect of iulia. It applies
84+
This step can only be applied for the EVM-flavoured dialect of Yul. It applies
8585
simple rules like ``x + 0 == x`` to simplify expressions.
8686

8787
## Ineffective Statement Remover

libjulia/optimiser/UnusedPruner.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void UnusedPruner::operator()(Block& _block)
5959
// Multi-variable declarations are special. We can only remove it
6060
// if all vairables are unused and the right-hand-side is either
6161
// movable or it return a single value. In the latter case, we
62-
// replace `let a := f()` by `pop(f())` (in pure IULIA, this will be
62+
// replace `let a := f()` by `pop(f())` (in pure Yul, this will be
6363
// `drop(f())`).
6464
if (boost::algorithm::none_of(
6565
varDecl.variables,
@@ -74,7 +74,7 @@ void UnusedPruner::operator()(Block& _block)
7474
statement = Block{std::move(varDecl.location), {}};
7575
}
7676
else if (varDecl.variables.size() == 1)
77-
// In pure IULIA, this should be replaced by a function call to `drop`
77+
// In pure Yul, this should be replaced by a function call to `drop`
7878
// instead of `pop`.
7979
statement = ExpressionStatement{varDecl.location, FunctionalInstruction{
8080
varDecl.location,

0 commit comments

Comments
 (0)