aboutsummaryrefslogtreecommitdiff
path: root/backend/include/rcc/CodeGen/MachineFunctionRecords.h
diff options
context:
space:
mode:
Diffstat (limited to 'backend/include/rcc/CodeGen/MachineFunctionRecords.h')
-rw-r--r--backend/include/rcc/CodeGen/MachineFunctionRecords.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/include/rcc/CodeGen/MachineFunctionRecords.h b/backend/include/rcc/CodeGen/MachineFunctionRecords.h
index b792494..645d514 100644
--- a/backend/include/rcc/CodeGen/MachineFunctionRecords.h
+++ b/backend/include/rcc/CodeGen/MachineFunctionRecords.h
@@ -117,6 +117,9 @@ public:
[[nodiscard]] Expected<void> addCalledGlobal(MachineCalledGlobal CalledGlobal);
+ [[nodiscard]] Expected<void> replaceInstructionReference(MachineInstrStableID OldInstruction,
+ MachineInstrStableID NewInstruction);
+
[[nodiscard]] std::span<const MachinePrefetchTarget> prefetchTargets() const noexcept {
return PrefetchTargets;
}