[x86/Linux] Port two assertions in stackwalk.cpp (#9046)
authorJonghyun Park <parjong@gmail.com>
Mon, 23 Jan 2017 12:00:34 +0000 (21:00 +0900)
committerJan Vorlicek <janvorli@microsoft.com>
Mon, 23 Jan 2017 12:00:34 +0000 (13:00 +0100)
src/vm/stackwalk.cpp

index 3e74dfd3eb162301780d1f87708bcca0ea007823..2cac5d91042b46c641ab783ee9df1b480af3c7b6 100644 (file)
@@ -1184,10 +1184,10 @@ BOOL StackFrameIterator::Init(Thread *    pThread,
     _ASSERTE(CanThisThreadCallIntoHost() || (flags & LIGHTUNWIND) == 0);
 #endif // DACCESS_COMPILE
 
-#if !defined(_TARGET_X86_)
+#ifdef WIN64EXCEPTIONS
     _ASSERTE(!(flags & POPFRAMES));
     _ASSERTE(pRegDisp->pCurrentContext);
-#endif // !_TARGET_X86_
+#endif // WIN64EXCEPTIONS
 
     BEGIN_FORBID_TYPELOAD();