We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 794775b commit e5a5674Copy full SHA for e5a5674
include/swift/SIL/PrunedLiveness.h
@@ -613,9 +613,10 @@ class PrunedLiveRange : public PrunedLiveness {
613
ValueSet &visited,
614
SILValue value);
615
616
- void updateForUse(SILInstruction *user, LifetimeEnding lifetimeEnding);
617
-
618
public:
+ /// Add \p inst to liveness which uses the def as indicated by \p usage.
+ void updateForUse(SILInstruction *inst, LifetimeEnding usage);
619
+
620
/// For flexibility, \p lifetimeEnding is provided by the
621
/// caller. PrunedLiveness makes no assumptions about the def-use
622
/// relationships that generate liveness. For example, use->isLifetimeEnding()
0 commit comments