aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/inlineasm
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
parent4f738ff1c0975202f064900549eca4661d2f51a6 (diff)
downloaddexon-solidity-b77b11781d174712bd141d0fd82e823cd2727aec.tar
dexon-solidity-b77b11781d174712bd141d0fd82e823cd2727aec.tar.gz
dexon-solidity-b77b11781d174712bd141d0fd82e823cd2727aec.tar.bz2
dexon-solidity-b77b11781d174712bd141d0fd82e823cd2727aec.tar.lz
dexon-solidity-b77b11781d174712bd141d0fd82e823cd2727aec.tar.xz
dexon-solidity-b77b11781d174712bd141d0fd82e823cd2727aec.tar.zst
dexon-solidity-b77b11781d174712bd141d0fd82e823cd2727aec.zip
Rename parseFunctionalInstruction to parseCall
Diffstat (limited to 'libsolidity/inlineasm')
-rw-r--r--libsolidity/inlineasm/AsmParser.cpp6
-rw-r--r--libsolidity/inlineasm/AsmParser.h2
2 files changed, 4 insertions, 4 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))
{
diff --git a/libsolidity/inlineasm/AsmParser.h b/libsolidity/inlineasm/AsmParser.h
index addc1725..812762a6 100644
--- a/libsolidity/inlineasm/AsmParser.h
+++ b/libsolidity/inlineasm/AsmParser.h
@@ -68,7 +68,7 @@ protected:
Statement parseElementaryOperation(bool _onlySinglePusher = false);
VariableDeclaration parseVariableDeclaration();
FunctionDefinition parseFunctionDefinition();
- Statement parseFunctionalInstruction(Statement&& _instruction);
+ Statement parseCall(Statement&& _instruction);
TypedName parseTypedName();
std::string expectAsmIdentifier();