Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions libevmasm/PeepholeOptimiser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,7 @@ struct DoublePush
_state.i += windowSize;
return true;
}
else
return false;
return false;
}
};

Expand Down
3 changes: 1 addition & 2 deletions libevmasm/SimplificationRules.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@ AssemblyItem Pattern::toAssemblyItem(langutil::DebugData::ConstPtr _debugData) c
{
if (m_type == Operation)
return AssemblyItem(m_instruction, std::move(_debugData));
else
return AssemblyItem(m_type, data(), std::move(_debugData));
return AssemblyItem(m_type, data(), std::move(_debugData));
}

std::string Pattern::toString() const
Expand Down