Skip to content

Commit c257409

Browse files
committed
Comments
1 parent 2288448 commit c257409

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -846,8 +846,8 @@ unsigned InferAddressSpacesImpl::joinAddressSpaces(unsigned AS1,
846846
return (AS1 == AS2) ? AS1 : FlatAddrSpace;
847847
}
848848

849-
bool InferAddressSpacesImpl::run(Function &F_) {
850-
F = &F_;
849+
bool InferAddressSpacesImpl::run(Function &CurFn) {
850+
F = &CurFn;
851851
DL = &F->getDataLayout();
852852

853853
if (AssumeDefaultIsFlatAddressSpace)

0 commit comments

Comments
 (0)