aboutsummaryrefslogtreecommitdiff
path: root/backend/lib/MIR/MIRDocumentParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'backend/lib/MIR/MIRDocumentParser.h')
-rw-r--r--backend/lib/MIR/MIRDocumentParser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/backend/lib/MIR/MIRDocumentParser.h b/backend/lib/MIR/MIRDocumentParser.h
index 3fade39..4d1d1ea 100644
--- a/backend/lib/MIR/MIRDocumentParser.h
+++ b/backend/lib/MIR/MIRDocumentParser.h
@@ -70,7 +70,8 @@ private:
[[nodiscard]] bool physicalRegister(std::string_view Text, const TextRange &Range,
PhysicalRegister &Reg);
[[nodiscard]] bool virtualRegister(std::string_view Text, const TextRange &Range,
- const MIParserContext &Context, Register &Reg);
+ MachineFunction &Function, MIParserContext &Context,
+ Register &Reg);
[[nodiscard]] Expected<MachineMetadataReference>
resolveMetadataReference(const MachineFunction &Function, std::uint32_t Slot) const;
[[nodiscard]] bool parseVariableDebugInfo(const yaml::Node &Entry, MachineFunction &Function,