Skip to content

Commit 589d09d

Browse files
nikicfhahn
andauthored
Update llvm/lib/Transforms/IPO/AlwaysInliner.cpp
Co-authored-by: Florian Hahn <[email protected]>
1 parent 274dcdc commit 589d09d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/IPO/AlwaysInliner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ struct AlwaysInlinerLegacyPass : public ModulePass {
136136
auto GetAssumptionCache = [&](Function &F) -> AssumptionCache & {
137137
return getAnalysis<AssumptionCacheTracker>().getAssumptionCache(F);
138138
};
139-
auto GetCachedBFI = [&](Function &) -> BlockFrequencyInfo * {
139+
auto GetCachedBFI = [](Function &) -> BlockFrequencyInfo * {
140140
return nullptr;
141141
};
142142

0 commit comments

Comments
 (0)