*/
virtual ULONG32 GetStackParameterSize(EECodeInfo* pCodeInfo) = 0;
+#ifndef CROSSGEN_COMPILE
/*
Unwind the current stack frame, i.e. update the virtual register
set in pContext. This will be similar to the state after the function
unsigned flags,
CodeManState *pState,
StackwalkCacheUnwindInfo *pUnwindInfo) = 0;
+#endif // CROSSGEN_COMPILE
/*
Is the function currently at a "GC safe point" ?
virtual
ULONG32 GetStackParameterSize(EECodeInfo* pCodeInfo);
+#ifndef CROSSGEN_COMPILE
/*
Unwind the current stack frame, i.e. update the virtual register
set in pContext. This will be similar to the state after the function
unsigned flags,
CodeManState *pState,
StackwalkCacheUnwindInfo *pUnwindInfo);
+#endif // CROSSGEN_COMPILE
enum QuickUnwindFlag
{
#endif // _TARGET_X86_
-#if defined(_TARGET_X86_) && !defined(WIN64EXCEPTIONS)
+#ifndef CROSSGEN_COMPILE
+#ifndef WIN64EXCEPTIONS
/*****************************************************************************
*
CodeManState *pState,
StackwalkCacheUnwindInfo *pUnwindInfo /* out-only, perf improvement */)
{
+#ifdef _TARGET_X86_
return ::UnwindStackFrame(pContext, pCodeInfo, flags, pState, pUnwindInfo);
+#else // _TARGET_X86_
+ PORTABILITY_ASSERT("EECodeManager::UnwindStackFrame");
+ return false;
+#endif // _TARGET_???_
}
/*****************************************************************************/
-#elif !defined(CROSSGEN_COMPILE) // _TARGET_X86_ - UnwindStackFrame
+#else // !WIN64EXCEPTIONS
/*****************************************************************************/
bool EECodeManager::UnwindStackFrame(PREGDISPLAY pContext,
}
/*****************************************************************************/
-#else // _TARGET_X86_ - UnwindStackFrame
-
-bool EECodeManager::UnwindStackFrame(PREGDISPLAY pContext,
- EECodeInfo *pCodeInfo,
- unsigned flags,
- CodeManState *pState,
- StackwalkCacheUnwindInfo *pUnwindInfo /* out-only, perf improvement */)
-{
- _ASSERTE(!"EECodeManager::UnwindStackFrame not supported in this build configuration");
- return true;
-}
+#endif // WIN64EXCEPTIONS
+#endif // !CROSSGEN_COMPILE
-#endif // _TARGET_X86_ - UnwindStackFrame
/*****************************************************************************/
/* report args in 'msig' to the GC.