diff options
author | Chris Sienkiewicz <chsienki@microsoft.com> | 2018-05-31 13:40:11 -0700 |
---|---|---|
committer | Gleb Balykov <g.balykov@samsung.com> | 2018-09-18 15:49:14 +0300 |
commit | 27f8fb646314323215899eca34319169cf4d2ad1 (patch) | |
tree | 8b8cb350e3946adf5af23f36c8509cc97a4e8278 | |
parent | afe1ffead4ef5cf922138d9dd62c45df3ba06d97 (diff) | |
download | coreclr-27f8fb646314323215899eca34319169cf4d2ad1.tar.gz coreclr-27f8fb646314323215899eca34319169cf4d2ad1.tar.bz2 coreclr-27f8fb646314323215899eca34319169cf4d2ad1.zip |
Move assert so it doesn't fire for null addresses
-rw-r--r-- | src/debug/ee/functioninfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/debug/ee/functioninfo.cpp b/src/debug/ee/functioninfo.cpp index 56c07267a7..795e86dc95 100644 --- a/src/debug/ee/functioninfo.cpp +++ b/src/debug/ee/functioninfo.cpp @@ -1559,7 +1559,6 @@ DebuggerJitInfo *DebuggerMethodInfo::FindOrCreateInitAndAddJitInfo(MethodDesc* f CONTRACTL_END; _ASSERTE(fd != NULL); - ARM_ONLY(_ASSERTE((startAddr & THUMB_CODE) == 1)); // The debugger doesn't track Lightweight-codegen methods b/c they have no metadata. if (fd->IsDynamicMethod()) @@ -1587,6 +1586,7 @@ DebuggerJitInfo *DebuggerMethodInfo::FindOrCreateInitAndAddJitInfo(MethodDesc* f // // We haven't got the lock yet so we'll repeat this lookup once // we've taken the lock. + ARM_ONLY(_ASSERTE((startAddr & THUMB_CODE) == 1)); DebuggerJitInfo * pResult = FindJitInfo(fd, startAddr); if (pResult != NULL) { |