aboutsummaryrefslogtreecommitdiff
path: root/backend/lib/CodeGen/SlotIndexes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend/lib/CodeGen/SlotIndexes.cpp')
-rw-r--r--backend/lib/CodeGen/SlotIndexes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/lib/CodeGen/SlotIndexes.cpp b/backend/lib/CodeGen/SlotIndexes.cpp
index 57e35b5..4fe753a 100644
--- a/backend/lib/CodeGen/SlotIndexes.cpp
+++ b/backend/lib/CodeGen/SlotIndexes.cpp
@@ -143,12 +143,12 @@ Expected<void> SlotIndexesAnalysis::Result::renumber(MachineFunction &Function)
bool SlotIndexesAnalysis::Result::invalidate(const MachineFunction &,
const PreservedAnalyses &Preserved) const noexcept {
- return !Preserved.preserves(MachineAnalysisManager::id<SlotIndexesAnalysis>());
+ return !Preserved.preserves(MachineFunctionAnalysisManager::id<SlotIndexesAnalysis>());
}
Expected<SlotIndexesAnalysis::Result> SlotIndexesAnalysis::run(MachineFunction &Function,
const TargetDescription &,
- MachineAnalysisManager &) {
+ MachineFunctionAnalysisManager &) {
Result ResultValue;
auto Numbered = ResultValue.renumber(Function);
if (!Numbered)