Skip to content

Commit

Permalink
[RISC-V] Disable not-yet-implemented EnC assertion (dotnet#93864)
Browse files Browse the repository at this point in the history
Proper EnC support for RISC-V would require development similar to dotnet#69679, for now disable the section.
  • Loading branch information
tomeksowi authored Oct 24, 2023
1 parent 10be4c0 commit 9aca7e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/coreclr/jit/codegenriscv64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6912,10 +6912,12 @@ void CodeGen::genCreateAndStoreGCInfo(unsigned codeSize,
// Now we can actually use those slot ID's to declare live ranges.
gcInfo.gcMakeRegPtrTable(gcInfoEncoder, codeSize, prologSize, GCInfo::MAKE_REG_PTR_MODE_DO_WORK, &callCnt);

#ifdef FEATURE_REMAP_FUNCTION
if (compiler->opts.compDbgEnC)
{
NYI_RISCV64("compDbgEnc in genCreateAndStoreGCInfo-----unimplemented/unused on RISCV64 yet----");
}
#endif // FEATURE_REMAP_FUNCTION

if (compiler->opts.IsReversePInvoke())
{
Expand Down

0 comments on commit 9aca7e3

Please sign in to comment.