mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Rename IRGenerationContext::internalDispatch() to generateInternalDispatchFunction()
This commit is contained in:
parent
30278c4b88
commit
7d2292fbaf
@ -121,7 +121,7 @@ string IRGenerationContext::newYulVariable()
|
||||
return "_" + to_string(++m_varCounter);
|
||||
}
|
||||
|
||||
string IRGenerationContext::internalDispatch(YulArity const& _arity)
|
||||
string IRGenerationContext::generateInternalDispatchFunction(YulArity const& _arity)
|
||||
{
|
||||
string funName = "dispatch_internal_in_" + to_string(_arity.in) + "_out_" + to_string(_arity.out);
|
||||
return m_functions.createFunction(funName, [&]() {
|
||||
|
@ -102,7 +102,7 @@ public:
|
||||
|
||||
std::string newYulVariable();
|
||||
|
||||
std::string internalDispatch(YulArity const& _arity);
|
||||
std::string generateInternalDispatchFunction(YulArity const& _arity);
|
||||
|
||||
/// @returns a new copy of the utility function generator (but using the same function set).
|
||||
YulUtilFunctions utils();
|
||||
|
@ -695,8 +695,8 @@ void IRGeneratorForStatements::endVisit(FunctionCall const& _functionCall)
|
||||
{
|
||||
YulArity arity = YulArity::fromType(*functionType);
|
||||
define(_functionCall) <<
|
||||
// NOTE: internalDispatch() takes care of adding the function to function generation queue
|
||||
m_context.internalDispatch(arity) <<
|
||||
// NOTE: generateInternalDispatchFunction() takes care of adding the function to function generation queue
|
||||
m_context.generateInternalDispatchFunction(arity) <<
|
||||
"(" <<
|
||||
IRVariable(_functionCall.expression()).part("functionIdentifier").name() <<
|
||||
joinHumanReadablePrefixed(args) <<
|
||||
|
Loading…
Reference in New Issue
Block a user