Skip to content

Commit 1c09e24

Browse files
committed
LLVMPasses: addjust for SVN r356783
SVN r356783 added a new parameter to `modRefInfo` for caching the results. Update the API usage.
1 parent fabf61f commit 1c09e24

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/LLVMPasses/LLVMSwiftAA.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ ModRefInfo SwiftAAResult::getModRefInfo(const llvm::CallBase *Call,
4141
return ModRefInfo::NoModRef;
4242

4343
// Otherwise, delegate to the rest of the AA ModRefInfo machinery.
44-
return AAResultBase::getModRefInfo(Call, Loc);
44+
AAQueryInfo AAQI;
45+
return AAResultBase::getModRefInfo(Call, Loc, AAQI);
4546
}
4647

4748
//===----------------------------------------------------------------------===//

0 commit comments

Comments
 (0)