mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-07-02 15:10:46 -07:00
Avoid buffer allocations in CodeGenContext.GetCode(). Avoid stream allocations in PTC.PtcInfo.
Refactoring/nits.
This commit is contained in:
@ -246,8 +246,10 @@ namespace ARMeilleure.Translation
|
||||
|
||||
ResetPool(highCq ? 1 : 0);
|
||||
}
|
||||
else using (PtcInfo ptcInfo = new PtcInfo())
|
||||
else
|
||||
{
|
||||
using PtcInfo ptcInfo = new PtcInfo();
|
||||
|
||||
func = Compiler.Compile<GuestFunction>(cfg, argTypes, OperandType.I64, options, ptcInfo);
|
||||
|
||||
ResetPool(highCq ? 1 : 0);
|
||||
|
Reference in New Issue
Block a user