summaryrefslogtreecommitdiff
path: root/src/vm/exceptionhandling.cpp
diff options
context:
space:
mode:
authorJonghyun Park <parjong@gmail.com>2017-01-24 15:52:45 +0900
committerJan Kotas <jkotas@microsoft.com>2017-01-23 22:52:45 -0800
commit97e702041f003a856555b8b809771920a74f0776 (patch)
treeb2f2f4da975e940e57c30226baa3b93bfb0bf5d2 /src/vm/exceptionhandling.cpp
parent7a1185d4abce994bebb1aaa604730c79dce70186 (diff)
downloadcoreclr-97e702041f003a856555b8b809771920a74f0776.tar.gz
coreclr-97e702041f003a856555b8b809771920a74f0776.tar.bz2
coreclr-97e702041f003a856555b8b809771920a74f0776.zip
[x86/Linux] Port two preconditions in ExceptionTracker::ResetThreadAbortStatus (#9079)
Diffstat (limited to 'src/vm/exceptionhandling.cpp')
-rw-r--r--src/vm/exceptionhandling.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vm/exceptionhandling.cpp b/src/vm/exceptionhandling.cpp
index fa6c682fe2..5fe8a26ecd 100644
--- a/src/vm/exceptionhandling.cpp
+++ b/src/vm/exceptionhandling.cpp
@@ -7028,8 +7028,10 @@ void ExceptionTracker::ResetThreadAbortStatus(PTR_Thread pThread, CrawlFrame *pC
GC_NOTRIGGER;
MODE_ANY;
PRECONDITION(pThread != NULL);
- WIN64_ONLY(PRECONDITION(pCf != NULL);)
- WIN64_ONLY(PRECONDITION(!sfCurrentStackFrame.IsNull());)
+#ifdef WIN64EXCEPTIONS
+ PRECONDITION(pCf != NULL);
+ PRECONDITION(!sfCurrentStackFrame.IsNull());
+#endif // WIN64EXCEPTIONS
}
CONTRACTL_END;