Change non-exclusive Check postconditions to null checks (#15523)
authorJan Kotas <jkotas@microsoft.com>
Thu, 14 Dec 2017 21:15:49 +0000 (16:15 -0500)
committerGitHub <noreply@github.com>
Thu, 14 Dec 2017 21:15:49 +0000 (16:15 -0500)
commit5d91c4d2cc8fe60bad20cdfdf2e5f239bc024061
tree3e0876f0720be5d0842780301339dfc33e7a99f1
parent7f8496d99627f2a8bf9d7bbbc07d601c431a1a6c
Change non-exclusive Check postconditions to null checks (#15523)

The Check macro is trying to be helpful and trigger DebugBreak when the condition
is false and debugger is attached. It makes it hard to exercise the recent jump stub
changes with debugger attached. The fix is to change the non-exclusive Check postconditions
to a simple null check.
src/vm/codeman.cpp
src/vm/dynamicmethod.cpp