aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/inlineasm/AsmPrinter.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2018-06-14 18:04:08 +0800
committerGitHub <noreply@github.com>2018-06-14 18:04:08 +0800
commitdc5cd3e1e7db933493fe1b0dc12e5ecdf2a50ed7 (patch)
treed32c20e0d651d13d034cc5eaa601eccebcdf1ee8 /libsolidity/inlineasm/AsmPrinter.cpp
parentbaeabe1c2d1c5c447eeb943f3b750459a6bc924d (diff)
parentd24f6fd34b3a984b87ac6054d33922116fb12977 (diff)
downloaddexon-solidity-dc5cd3e1e7db933493fe1b0dc12e5ecdf2a50ed7.tar
dexon-solidity-dc5cd3e1e7db933493fe1b0dc12e5ecdf2a50ed7.tar.gz
dexon-solidity-dc5cd3e1e7db933493fe1b0dc12e5ecdf2a50ed7.tar.bz2
dexon-solidity-dc5cd3e1e7db933493fe1b0dc12e5ecdf2a50ed7.tar.lz
dexon-solidity-dc5cd3e1e7db933493fe1b0dc12e5ecdf2a50ed7.tar.xz
dexon-solidity-dc5cd3e1e7db933493fe1b0dc12e5ecdf2a50ed7.tar.zst
dexon-solidity-dc5cd3e1e7db933493fe1b0dc12e5ecdf2a50ed7.zip
Merge pull request #4296 from ethereum/yul-internal
[WIP] Rename some internal constructs from Julia/Iulia to Yul
Diffstat (limited to 'libsolidity/inlineasm/AsmPrinter.cpp')
-rw-r--r--libsolidity/inlineasm/AsmPrinter.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libsolidity/inlineasm/AsmPrinter.cpp b/libsolidity/inlineasm/AsmPrinter.cpp
index bacd7a94..1a15d7eb 100644
--- a/libsolidity/inlineasm/AsmPrinter.cpp
+++ b/libsolidity/inlineasm/AsmPrinter.cpp
@@ -40,7 +40,7 @@ using namespace dev::solidity::assembly;
string AsmPrinter::operator()(assembly::Instruction const& _instruction)
{
- solAssert(!m_julia, "");
+ solAssert(!m_yul, "");
return boost::to_lower_copy(instructionInfo(_instruction.instruction).name);
}
@@ -92,7 +92,7 @@ string AsmPrinter::operator()(assembly::Identifier const& _identifier)
string AsmPrinter::operator()(assembly::FunctionalInstruction const& _functionalInstruction)
{
- solAssert(!m_julia, "");
+ solAssert(!m_yul, "");
return
boost::to_lower_copy(instructionInfo(_functionalInstruction.instruction).name) +
"(" +
@@ -109,13 +109,13 @@ string AsmPrinter::operator()(ExpressionStatement const& _statement)
string AsmPrinter::operator()(assembly::Label const& _label)
{
- solAssert(!m_julia, "");
+ solAssert(!m_yul, "");
return _label.name + ":";
}
string AsmPrinter::operator()(assembly::StackAssignment const& _assignment)
{
- solAssert(!m_julia, "");
+ solAssert(!m_yul, "");
return "=: " + (*this)(_assignment.variableName);
}
@@ -225,7 +225,7 @@ string AsmPrinter::operator()(Block const& _block)
string AsmPrinter::appendTypeName(std::string const& _type) const
{
- if (m_julia)
+ if (m_yul)
return ":" + _type;
return "";
}