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:
@@ -114,7 +114,7 @@ bool ArrayAllocation::isInitializationWithKnownCount() {
|
||||
/// Collect all getCount users and check that there are no escapes or uses that
|
||||
/// could change the array value.
|
||||
bool ArrayAllocation::analyseArrayValueUses() {
|
||||
return recursivelyCollectUses(ArrayValue.getDef());
|
||||
return recursivelyCollectUses(ArrayValue);
|
||||
}
|
||||
|
||||
static bool doesNotChangeArrayCount(ArraySemanticsCall &C) {
|
||||
|
||||
Reference in New Issue
Block a user