From 41db7d9af54a0a7d9fc365849e7c0fc1dad3a4b9 Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Fri, 7 Sep 2018 15:22:40 -0700 Subject: Fixes towards making the runtime compiled without FEATURE_PREJIT defined (#19864) --- src/vm/codeman.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/vm/codeman.h') diff --git a/src/vm/codeman.h b/src/vm/codeman.h index e30b6332ac..ebf92e48be 100644 --- a/src/vm/codeman.h +++ b/src/vm/codeman.h @@ -68,6 +68,7 @@ Abstract: #include "shash.h" #include "pedecoder.h" #include "gcinfo.h" +#include "eexcp.h" #if defined(WIN64EXCEPTIONS) && !defined(USE_INDIRECT_CODEHEADER) #error "WIN64EXCEPTIONS requires USE_INDIRECT_CODEHEADER" @@ -1742,7 +1743,9 @@ public: class EECodeInfo { friend BOOL EEJitManager::JitCodeToMethodInfo(RangeSection * pRangeSection, PCODE currentPC, MethodDesc** ppMethodDesc, EECodeInfo * pCodeInfo); +#ifdef FEATURE_PREJIT friend BOOL NativeImageJitManager::JitCodeToMethodInfo(RangeSection * pRangeSection, PCODE currentPC, MethodDesc** ppMethodDesc, EECodeInfo * pCodeInfo); +#endif #ifdef FEATURE_READYTORUN friend BOOL ReadyToRunJitManager::JitCodeToMethodInfo(RangeSection * pRangeSection, PCODE currentPC, MethodDesc** ppMethodDesc, EECodeInfo * pCodeInfo); #endif -- cgit v1.2.3