Skip to content

Commit a98c217

Browse files
committed
update comments
1 parent 87eb52d commit a98c217

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

libsolidity/analysis/GlobalContext.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ inline vector<shared_ptr<MagicVariableDeclaration const>> constructMagicVariable
112112
magicVarDecl("db", TypeProvider::magic(MagicType::Kind::Database)),
113113
magicVarDecl("sm3", TypeProvider::function(strings{"bytes memory"}, strings{"bytes32"}, FunctionType::Kind::SM3, false, StateMutability::Pure)),
114114
magicVarDecl("enbase58", TypeProvider::function(strings{"bytes memory"}, strings{"string memory"}, FunctionType::Kind::ENBASE58, false, StateMutability::Pure)),
115-
// magicVarDecl("enbase58", TypeProvider::function(strings{"bytes memory"}, strings{"string memory"}, FunctionType::Kind::ENBASE58, false, StateMutability::Pure)),
116115
magicVarDecl("debase58", TypeProvider::function(strings{"string memory"}, strings{"bytes20"}, FunctionType::Kind::DEBASE58, false, StateMutability::Pure)),
117116
};
118117
}

libsolidity/codegen/ExpressionCompiler.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,11 +1032,6 @@ bool ExpressionCompiler::visit(FunctionCall const& _functionCall)
10321032
appendExternalFunctionCall(function, arguments, false);
10331033
break;
10341034
}
1035-
/*case FunctionType::Kind::ENBASE58:
1036-
{
1037-
_functionCall.expression().accept(*this);
1038-
utils().fetchFreeMemoryPointer();
1039-
}*/
10401035
case FunctionType::Kind::ArrayPush:
10411036
{
10421037
solAssert(function.bound(), "");
@@ -1725,7 +1720,7 @@ bool ExpressionCompiler::visit(FunctionCall const& _functionCall)
17251720
solAssert(argType1, "");
17261721
arguments.front()->accept(*this);
17271722

1728-
/* arguments (string memory, string memory) */
1723+
/* arguments (string memory, string memory, string memory) */
17291724
std::vector<ASTPointer<Expression const>> memArguments(
17301725
arguments.begin() + 1, arguments.end() - 1);
17311726
TypePointers params(parameterTypes.begin() + 1, parameterTypes.end() - 1);

0 commit comments

Comments
 (0)