Skip to content

Commit

Permalink
Comment an assumption made by DeadObjectElimination
Browse files Browse the repository at this point in the history
  • Loading branch information
atrick committed Nov 19, 2015
1 parent 1f726fe commit 6313170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/SILPasses/Scalar/DeadObjectElimination.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ STATISTIC(DeadAllocApplyEliminated,

using UserList = llvm::SmallSetVector<SILInstruction *, 16>;

// Analyzing the body of this classes destructor is valid because the object is
// Analyzing the body of this class destructor is valid because the object is
// dead. This means that the object is never passed to objc_setAssociatedObject,
// so its destructor cannot be extended at runtime.
static SILFunction *getDestructor(AllocRefInst *ARI) {
Expand Down

0 comments on commit 6313170

Please sign in to comment.