1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

Fix missing namespace in API implementation.

This commit is contained in:
Mircea Trofin 2020-04-27 21:05:33 -07:00
parent 821d875cd5
commit bf4b0518c8

View File

@ -2219,7 +2219,7 @@ InlineCost llvm::getInlineCost(
GetAssumptionCache, GetBFI, GetTLI, PSI, ORE);
}
Optional<int> getInliningCostEstimate(
Optional<int> llvm::getInliningCostEstimate(
CallBase &Call, TargetTransformInfo &CalleeTTI,
std::function<AssumptionCache &(Function &)> &GetAssumptionCache,
Optional<function_ref<BlockFrequencyInfo &(Function &)>> GetBFI,