From 27f8fb646314323215899eca34319169cf4d2ad1 Mon Sep 17 00:00:00 2001 From: Chris Sienkiewicz Date: Thu, 31 May 2018 13:40:11 -0700 Subject: [PATCH] Move assert so it doesn't fire for null addresses --- src/debug/ee/functioninfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/debug/ee/functioninfo.cpp b/src/debug/ee/functioninfo.cpp index 56c0726..795e86d 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) { -- 2.7.4