Skip to content

Commit c4eb333

Browse files
committed
Fixing
1 parent 9626a26 commit c4eb333

File tree

3 files changed

+2
-126
lines changed

3 files changed

+2
-126
lines changed

libyul/optimiser/VarNameCleaner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ void VarNameCleaner::operator()(Identifier& _identifier)
9696
_identifier.name = name->second;
9797
}
9898

99-
YulName VarNameCleaner::findCleanName(YulName const& _name) const
99+
YulName VarNameCleaner::findCleanName(YulName const& _name)
100100
{
101101
auto newName = stripSuffix(_name);
102102
if (!isUsedName(newName))

libyul/optimiser/VarNameCleaner.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class VarNameCleaner: public ASTModifier
7575

7676
/// Looks out for a "clean name" the given @p name could be trimmed down to.
7777
/// @returns a trimmed down and "clean name" in case it found one, none otherwise.
78-
YulName findCleanName(YulName const& name) const;
78+
YulName findCleanName(YulName const& name);
7979

8080
/// Tests whether a given name was already used within this pass
8181
/// or was set to be kept.

test/libyul/VarNameCleanerPerf.cpp

Lines changed: 0 additions & 124 deletions
This file was deleted.

0 commit comments

Comments
 (0)