From 0bd362370bdd649f0f09eb5c1e58cf11d9538804 Mon Sep 17 00:00:00 2001 From: Tom McDonald Date: Thu, 14 Sep 2023 19:50:12 -0400 Subject: [PATCH] FIx riscv64 build break due to NDirectImportPrecode::Type conflict with ThisPtrRetBufPrecode::Type (#92087) --- src/coreclr/vm/precode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/vm/precode.h b/src/coreclr/vm/precode.h index c61035f890285..3f6a2f532c4e6 100644 --- a/src/coreclr/vm/precode.h +++ b/src/coreclr/vm/precode.h @@ -189,7 +189,7 @@ typedef DPTR(StubPrecode) PTR_StubPrecode; // (This is fake precode. VTable slot does not point to it.) struct NDirectImportPrecode : StubPrecode { - static const int Type = 0x02; + static const int Type = 0x05; void Init(NDirectImportPrecode* pPrecodeRX, MethodDesc* pMD, LoaderAllocator *pLoaderAllocator);