Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Commit

Permalink
[x86/Linux] Port two preconditions in ExceptionTracker::ResetThreadAb…
Browse files Browse the repository at this point in the history
…ortStatus (#9079)
  • Loading branch information
parjong authored and jkotas committed Jan 24, 2017
1 parent 7a1185d commit 97e7020
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/vm/exceptionhandling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 97e7020

Please sign in to comment.