diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-06-13 01:37:39 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-06-14 16:31:28 +0800 |
commit | e0d95a66411834537f4a50ec86617a12e839d769 (patch) | |
tree | 885597e88d6d101dbd24daca5e3c68d308629e3f /libsolidity/inlineasm/AsmPrinter.cpp | |
parent | 782bc41dbd34a3ed2c5c7074647f039f7a974cdf (diff) | |
download | dexon-solidity-e0d95a66411834537f4a50ec86617a12e839d769.tar dexon-solidity-e0d95a66411834537f4a50ec86617a12e839d769.tar.gz dexon-solidity-e0d95a66411834537f4a50ec86617a12e839d769.tar.bz2 dexon-solidity-e0d95a66411834537f4a50ec86617a12e839d769.tar.lz dexon-solidity-e0d95a66411834537f4a50ec86617a12e839d769.tar.xz dexon-solidity-e0d95a66411834537f4a50ec86617a12e839d769.tar.zst dexon-solidity-e0d95a66411834537f4a50ec86617a12e839d769.zip |
Rename internal variable
Diffstat (limited to 'libsolidity/inlineasm/AsmPrinter.cpp')
-rw-r--r-- | libsolidity/inlineasm/AsmPrinter.cpp | 10 |
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 ""; } |