if (info.ebpFrame)
{
_ASSERTE(stackDepth == 0);
- taArgBase = *pContext->GetEbpLocation();
+#if defined(WIN64EXCEPTIONS)
+ taArgBase = GetCallerSp(pContext) - 2 * sizeof(TADDR);
+#else
+ taArgBase = *pContext->pEbp;
+#endif
}
else
{
return NULL;
}
+#if defined(WIN64EXCEPTIONS)
+ TADDR fp = GetCallerSp(pContext) - 2 * sizeof(TADDR);
+#else
TADDR fp = GetRegdisplayFP(pContext);
+#endif
TADDR taParamTypeArg = *PTR_TADDR(fp - GetParamTypeArgOffset(&info));
return PTR_VOID(taParamTypeArg);