summaryrefslogtreecommitdiff
path: root/src/inc/stackframe.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/inc/stackframe.h')
-rw-r--r--src/inc/stackframe.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/inc/stackframe.h b/src/inc/stackframe.h
index 11977e9..940951d 100644
--- a/src/inc/stackframe.h
+++ b/src/inc/stackframe.h
@@ -115,16 +115,13 @@ struct CallerStackFrame : StackFrame
{
}
+#ifdef WIN64EXCEPTIONS
static inline CallerStackFrame FromRegDisplay(REGDISPLAY* pRD)
{
-#if defined(_TARGET_AMD64_) || defined(_TARGET_ARM_) || defined(_TARGET_ARM64_)
_ASSERTE(pRD->IsCallerSPValid || pRD->IsCallerContextValid);
return CallerStackFrame(GetSP(pRD->pCallerContext));
-#else // !_TARGET_AMD64_ && !_TARGET_ARM_ && !_TARGET_ARM64_
- _ASSERTE(!"CallerStackFrame::FromRegDisplay() - NYI on this platform");
- return CallerStackFrame();
-#endif // !_TARGET_AMD64_ && !_TARGET_ARM_ && !_TARGET_ARM64_
}
+#endif // WIN64EXCEPTIONS
};
#endif // __STACKFRAME_H