mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Update LoadCopyToLoadBorrow for MemAccessUtils API.
This commit is contained in:
@@ -266,8 +266,13 @@ public:
|
||||
return next(parentAddr->get());
|
||||
}
|
||||
|
||||
void visitPathComponent(SingleValueInstruction *projectedAddr,
|
||||
Operand *parentAddr) {
|
||||
void visitStorageCast(SingleValueInstruction *projectedAddr,
|
||||
Operand *parentAddr) {
|
||||
return next(parentAddr->get());
|
||||
}
|
||||
|
||||
void visitAccessProjection(SingleValueInstruction *projectedAddr,
|
||||
Operand *parentAddr) {
|
||||
return next(parentAddr->get());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user