mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
EscapeAnalysis: some new and changed utility functions to be used by alias analysis and ARC analysis.
This commit is contained in:
@@ -290,7 +290,7 @@ bool StackPromoter::canPromoteAlloc(SILInstruction *AI,
|
||||
SILInstruction *&DeallocInsertionPoint) {
|
||||
AllocInsertionPoint = nullptr;
|
||||
DeallocInsertionPoint = nullptr;
|
||||
auto *Node = ConGraph->getNode(AI, EA);
|
||||
auto *Node = ConGraph->getNodeOrNull(AI, EA);
|
||||
if (!Node)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user