Skip to content

Commit 41c392a

Browse files
committed
Fix no-JIT build
1 parent 8bc4363 commit 41c392a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/Runtime/Base/ThreadContextInfo.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,11 @@ ThreadContextInfo::SetValidCallTargetInternal(
501501
}
502502
}
503503
#if DBG
504-
if (isSetValid && !JITManager::GetJITManager()->IsOOPJITEnabled())
504+
if (isSetValid
505+
#if ENABLE_OOP_NATIVE_CODEGEN
506+
&& !JITManager::GetJITManager()->IsOOPJITEnabled()
507+
#endif
508+
)
505509
{
506510
_guard_check_icall((uintptr_t)callTargetAddress);
507511
}

0 commit comments

Comments
 (0)