aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/inlineasm/AsmParser.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2017-05-24 08:26:17 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2017-05-24 08:48:54 +0800
commitb77b11781d174712bd141d0fd82e823cd2727aec (patch)
tree47fdccd7ebbc822b43dd99f0cf0a621f228de4e1 /libsolidity/inlineasm/AsmParser.cpp
parent4f738ff1c0975202f064900549eca4661d2f51a6 (diff)
downloaddexon-solidity-b77b11781d174712bd141d0fd82e823cd2727aec.tar.gz
dexon-solidity-b77b11781d174712bd141d0fd82e823cd2727aec.tar.zst
dexon-solidity-b77b11781d174712bd141d0fd82e823cd2727aec.zip
Rename parseFunctionalInstruction to parseCall
Diffstat (limited to 'libsolidity/inlineasm/AsmParser.cpp')
-rw-r--r--libsolidity/inlineasm/AsmParser.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libsolidity/inlineasm/AsmParser.cpp b/libsolidity/inlineasm/AsmParser.cpp
index ffd9f6e2..85ae9424 100644
--- a/libsolidity/inlineasm/AsmParser.cpp
+++ b/libsolidity/inlineasm/AsmParser.cpp
@@ -96,7 +96,7 @@ assembly::Statement Parser::parseStatement()
switch (m_scanner->currentToken())
{
case Token::LParen:
- return parseFunctionalInstruction(std::move(statement));
+ return parseCall(std::move(statement));
case Token::Colon:
{
if (statement.type() != typeid(assembly::Identifier))
@@ -138,7 +138,7 @@ assembly::Statement Parser::parseExpression()
{
Statement operation = parseElementaryOperation(true);
if (m_scanner->currentToken() == Token::LParen)
- return parseFunctionalInstruction(std::move(operation));
+ return parseCall(std::move(operation));
else
return operation;
}
@@ -303,7 +303,7 @@ assembly::FunctionDefinition Parser::parseFunctionDefinition()
return funDef;
}
-assembly::Statement Parser::parseFunctionalInstruction(assembly::Statement&& _instruction)
+assembly::Statement Parser::parseCall(assembly::Statement&& _instruction)
{
if (_instruction.type() == typeid(Instruction))
{