Skip to content
Open
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
4 changes: 2 additions & 2 deletions src/passes/SafeHeap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ struct SafeHeap : public Pass {
}

bool
isPossibleAtomicOperation(Index align, Index bytes, bool shared, Type type) {
return align == bytes && shared && type.isInteger();
isPossibleAtomicOperation(Index align, Index bytes, bool /*shared*/, Type type) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If any human or bot gets a chance to look at this, please remove the newly unused parameter.

return align == bytes && type.isInteger();
}

void addGlobals(Module* module, FeatureSet features) {
Expand Down
Loading