From c71795886df0484e1ba35b8572abf6bb60ceafe6 Mon Sep 17 00:00:00 2001 From: Jan Kotas Date: Fri, 13 Feb 2015 23:10:22 -0800 Subject: [PATCH] Fix x86 build break [tfs-changeset: 1415626] --- src/vm/stackwalk.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vm/stackwalk.cpp b/src/vm/stackwalk.cpp index 2fc8f04..13c41c3 100644 --- a/src/vm/stackwalk.cpp +++ b/src/vm/stackwalk.cpp @@ -2925,9 +2925,9 @@ BOOL StackFrameIterator::CheckForSkippedFrames(void) // Can the caller handle skipped frames; fHandleSkippedFrames = (m_flags & HANDLESKIPPEDFRAMES); -#if !defined(_TARGET_X86_) +#if defined(_TARGET_X86_) pvReferenceSP = GetRegdisplaySP(m_crawl.pRD); -#else // !_TARGET_X86_ +#else // _TARGET_X86_ // Order the Frames relative to the caller SP of the methods // this makes it so that any Frame that is in a managed call // frame will be reported before its containing method. @@ -2935,7 +2935,7 @@ BOOL StackFrameIterator::CheckForSkippedFrames(void) // This should always succeed! If it doesn't, it's a bug somewhere else! EECodeManager::EnsureCallerContextIsValid(m_crawl.pRD, m_crawl.GetStackwalkCacheEntry(), &m_cachedCodeInfo); pvReferenceSP = GetSP(m_crawl.pRD->pCallerContext); -#endif // !_TARGET_X86_ +#endif // _TARGET_X86_ if ( !( (m_crawl.pFrame != FRAME_TOP) && (dac_cast(m_crawl.pFrame) < pvReferenceSP) ) -- 2.7.4