diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-06-13 01:36:38 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-06-14 16:31:28 +0800 |
commit | 782bc41dbd34a3ed2c5c7074647f039f7a974cdf (patch) | |
tree | 28d98f57363a006d45b04563fbecd38faaf19125 /libsolidity/inlineasm/AsmAnalysis.cpp | |
parent | baeabe1c2d1c5c447eeb943f3b750459a6bc924d (diff) | |
download | dexon-solidity-782bc41dbd34a3ed2c5c7074647f039f7a974cdf.tar.gz dexon-solidity-782bc41dbd34a3ed2c5c7074647f039f7a974cdf.tar.zst dexon-solidity-782bc41dbd34a3ed2c5c7074647f039f7a974cdf.zip |
Rename JULIA/IULIA to Yul in assembly interface
Diffstat (limited to 'libsolidity/inlineasm/AsmAnalysis.cpp')
-rw-r--r-- | libsolidity/inlineasm/AsmAnalysis.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libsolidity/inlineasm/AsmAnalysis.cpp b/libsolidity/inlineasm/AsmAnalysis.cpp index 9f505889..d5580dd2 100644 --- a/libsolidity/inlineasm/AsmAnalysis.cpp +++ b/libsolidity/inlineasm/AsmAnalysis.cpp @@ -99,7 +99,7 @@ bool AsmAnalyzer::operator()(assembly::Literal const& _literal) } else if (_literal.kind == assembly::LiteralKind::Boolean) { - solAssert(m_flavour == AsmFlavour::IULIA, ""); + solAssert(m_flavour == AsmFlavour::Yul, ""); solAssert(_literal.value == "true" || _literal.value == "false", ""); } m_info.stackHeightInfo[&_literal] = m_stackHeight; @@ -162,7 +162,7 @@ bool AsmAnalyzer::operator()(assembly::Identifier const& _identifier) bool AsmAnalyzer::operator()(FunctionalInstruction const& _instr) { - solAssert(m_flavour != AsmFlavour::IULIA, ""); + solAssert(m_flavour != AsmFlavour::Yul, ""); bool success = true; for (auto const& arg: _instr.arguments | boost::adaptors::reversed) if (!expectExpression(arg)) @@ -550,7 +550,7 @@ Scope& AsmAnalyzer::scope(Block const* _block) } void AsmAnalyzer::expectValidType(string const& type, SourceLocation const& _location) { - if (m_flavour != AsmFlavour::IULIA) + if (m_flavour != AsmFlavour::Yul) return; if (!builtinTypes.count(type)) |