mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
SIL: remove SILValue::getDef and add a cast operator to ValueBase * as a repelacement. NFC.
This commit is contained in:
@@ -1846,7 +1846,7 @@ public:
|
||||
/// If all SILValues have been set, we are complete.
|
||||
bool isComplete() const {
|
||||
return std::all_of(Values.begin(), Values.end(), [](SILValue V) -> bool {
|
||||
return V.getDef();
|
||||
return V;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user