Skip to content

Commit 348f1ed

Browse files
committed
force full map
1 parent 4312116 commit 348f1ed

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

src/coreclr/jit/compiler.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5159,8 +5159,13 @@ void Compiler::compCompile(void** methodCodePtr, uint32_t* methodCodeSize, JitFl
51595159
auto linearScanPhase = [this]() { m_pLinearScan->doLinearScan(); };
51605160
DoPhase(this, PHASE_LINEAR_SCAN, linearScanPhase);
51615161

5162+
#ifdef USE_GC_INFO_DECODER
5163+
// TODO: VS just to check.
5164+
SetFullPtrRegMapRequired(true);
5165+
#else
51625166
// Copied from rpPredictRegUse()
51635167
SetFullPtrRegMapRequired(codeGen->GetInterruptible() || !codeGen->isFramePointerUsed());
5168+
#endif
51645169

51655170
#if FEATURE_LOOP_ALIGN
51665171
// Place loop alignment instructions

src/coreclr/jit/gcencode.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4418,9 +4418,9 @@ void GCInfo::gcMakeRegPtrTable(
44184418
}
44194419
}
44204420
}
4421-
else if (compiler->isFramePointerUsed()) // GetInterruptible() is false, and we're using EBP as a frame pointer.
4421+
else if (!compiler->IsFullPtrRegMapRequired()) // GetInterruptible() is false, and we're using EBP as a frame pointer.
44224422
{
4423-
assert(compiler->IsFullPtrRegMapRequired() == false);
4423+
// assert(compiler->IsFullPtrRegMapRequired() == false);
44244424

44254425
// Walk the list of pointer register/argument entries.
44264426

0 commit comments

Comments
 (0)