1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 04:22:20 +02:00

Lost changes

This commit is contained in:
Brian Fiete 2021-02-25 10:14:22 -08:00
parent e6c4a95ccd
commit 8e9d7ed4c4
56 changed files with 1579 additions and 794 deletions

View file

@ -3787,7 +3787,7 @@ BeMCOperand BeMCContext::AllocVirtualReg(BeType* type, int refCount, bool mustBe
if (mDebugging)
{
if (mcOperand.mVRegIdx == 6)
if (mcOperand.mVRegIdx == 227)
{
NOP;
}
@ -10364,7 +10364,7 @@ bool BeMCContext::DoLegalization()
inst->mArg0.mKind = BeMCOperandKind_SymbolAddr;
}
ReplaceWithNewVReg(inst->mArg0, movInstIdx, true, false);
ReplaceWithNewVReg(inst->mArg0, movInstIdx, true, false, true);
auto vregInfo = GetVRegInfo(inst->mArg0);
vregInfo->mDisableR11 = true;
instIdx += 2;
@ -15842,7 +15842,7 @@ void BeMCContext::Generate(BeFunction* function)
mDbgPreferredRegs[32] = X64Reg_R8;*/
//mDbgPreferredRegs[8] = X64Reg_RAX;
//mDebugging = (function->mName == "?ParseRegex@Program@Regex@bf@@CAPEAV?$List@?AUStringView@System@bf@@@Collections@System@3@UStringView@63@0@Z");
//mDebugging = (function->mName == "?Zoips@TestProgram@BeefTest@bf@@SAXXZ");
// || (function->mName == "?MethodA@TestProgram@BeefTest@bf@@CAXXZ");
// || (function->mName == "?Hey@Blurg@bf@@SAXXZ")
// ;