Skip to content

Commit

Permalink
work
Browse files Browse the repository at this point in the history
  • Loading branch information
kripken committed Jun 24, 2024
1 parent 38f2297 commit 3009f94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/passes/Heap2Local.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ struct EscapeAnalyzer {
auto seenBefore = !seen.emplace(parent).second;
auto reachedInThisAllocation = reached.count(parent) > 0;
if (seenBefore && !reachedInThisAllocation) {
// XXX struct.set can be from different allocations!
return true;
}

Expand Down

0 comments on commit 3009f94

Please sign in to comment.