Skip to content

Commit 0851b43

Browse files
kripkentlively
andauthored
Update src/passes/DeadArgumentElimination.cpp
Co-authored-by: Thomas Lively <[email protected]>
1 parent 48d6a91 commit 0851b43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/passes/DeadArgumentElimination.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ struct DAE : public Pass {
296296
callers.resize(numFunctions);
297297
for (Index i = 0; i < numFunctions; ++i) {
298298
auto& set = callersSets[i];
299-
std::copy(set.begin(), set.end(), std::back_inserter(callers[i]));
299+
callers[i] = std::vector<Name>(set.begin(), set.end());
300300
}
301301
}
302302

0 commit comments

Comments
 (0)