From be04617b2196bf62077909f21ea9df7723aae74f Mon Sep 17 00:00:00 2001 From: Richard-Qin-X Date: Wed, 12 Aug 2026 01:31:09 +0800 Subject: [MIR] Create virtual registers referenced by live-ins --- backend/lib/MIR/MIRDocumentParser.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'backend/lib/MIR/MIRDocumentParser.h') 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 resolveMetadataReference(const MachineFunction &Function, std::uint32_t Slot) const; [[nodiscard]] bool parseVariableDebugInfo(const yaml::Node &Entry, MachineFunction &Function, -- cgit v1.2.3