Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
todo
  • Loading branch information
kripken committed Apr 5, 2024
commit 3e728e6b0280dd59064d9bddfddefd6d97fcfd0c
4 changes: 2 additions & 2 deletions src/passes/Heap2Local.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ struct EscapeAnalyzer {
}

// We finished the loop over the flows. Do the final checks.
if (!getsAreExclusiveToSets(sets)) {
if (!getsAreExclusiveToSets()) {
return true;
}

Expand Down Expand Up @@ -474,7 +474,7 @@ struct EscapeAnalyzer {
// else), we need to check whether all the gets that read that value cannot
// read anything else (which would be the case if another set writes to that
// local, in the right live range).
bool getsAreExclusiveToSets(const std::unordered_set<LocalSet*>& sets) { // TODO remove param
bool getsAreExclusiveToSets() {
// Find all the relevant gets (which may overlap between the sets).
std::unordered_set<LocalGet*> gets;
for (auto* set : sets) {
Expand Down