diff --git a/src/ARMeilleure/CodeGen/Loong64/CodeGenContext.cs b/src/ARMeilleure/CodeGen/Loong64/CodeGenContext.cs index bc4cd7101..359887134 100644 --- a/src/ARMeilleure/CodeGen/Loong64/CodeGenContext.cs +++ b/src/ARMeilleure/CodeGen/Loong64/CodeGenContext.cs @@ -25,5 +25,10 @@ namespace ARMeilleure.CodeGen.Loong64 Assembler = new Assembler(_stream); } + + public void EnterBlock(BasicBlock block) + { + + } } } \ No newline at end of file diff --git a/src/ARMeilleure/CodeGen/Loong64/CodeGenerator.cs b/src/ARMeilleure/CodeGen/Loong64/CodeGenerator.cs index fe5550a62..5d7b96cf8 100644 --- a/src/ARMeilleure/CodeGen/Loong64/CodeGenerator.cs +++ b/src/ARMeilleure/CodeGen/Loong64/CodeGenerator.cs @@ -95,7 +95,7 @@ namespace ARMeilleure.CodeGen.Loong64 bool relocatable = (cctx.Options & CompilerOptions.Relocatable) != 0; - CodeGenContext context = new(allocResult, maxCallArgs, relocatable); + CodeGenContext context = new(allocResult); UnwindInfo unwindInfo = WritePrologue(context);