aboutsummaryrefslogtreecommitdiff
path: root/backend/lib/CodeGen/LiveIntervals.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend/lib/CodeGen/LiveIntervals.cpp')
-rw-r--r--backend/lib/CodeGen/LiveIntervals.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/lib/CodeGen/LiveIntervals.cpp b/backend/lib/CodeGen/LiveIntervals.cpp
index d8cb539..5a01693 100644
--- a/backend/lib/CodeGen/LiveIntervals.cpp
+++ b/backend/lib/CodeGen/LiveIntervals.cpp
@@ -307,12 +307,12 @@ Expected<void> LiveIntervalsAnalysis::Result::shrinkToUses(Register Reg,
bool LiveIntervalsAnalysis::Result::invalidate(const MachineFunction &,
const PreservedAnalyses &Preserved) const noexcept {
- return !Preserved.preserves(MachineAnalysisManager::id<LiveIntervalsAnalysis>());
+ return !Preserved.preserves(MachineFunctionAnalysisManager::id<LiveIntervalsAnalysis>());
}
Expected<LiveIntervalsAnalysis::Result>
LiveIntervalsAnalysis::run(MachineFunction &Function, const TargetDescription &Target,
- MachineAnalysisManager &Analyses) {
+ MachineFunctionAnalysisManager &Analyses) {
auto Indexes = Analyses.getResult<SlotIndexesAnalysis>(Function, Target);
if (!Indexes)
return std::unexpected(Indexes.error());