Fix dump in LvaUpdateClass
authorCarol Eidt <carol.eidt@microsoft.com>
Fri, 30 Nov 2018 20:42:15 +0000 (12:42 -0800)
committerCarol Eidt <carol.eidt@microsoft.com>
Fri, 30 Nov 2018 20:59:50 +0000 (12:59 -0800)
It was failing, presumably because of too many or too large args, so break it up a abit.

Commit migrated from https://github.com/dotnet/coreclr/commit/e5be39cda1772b68e403210e60dd4253be0a6717

src/coreclr/src/jit/lclvars.cpp

index 9217fe7..6bd1501 100644 (file)
@@ -2732,10 +2732,10 @@ void Compiler::lvaUpdateClass(unsigned varNum, CORINFO_CLASS_HANDLE clsHnd, bool
         shouldUpdate = true;
     }
 
-    JITDUMP("\nlvaUpdateClass:%s Updating class for V%02u from (%p) %s%s to (%p) %s%s\n", varNum,
-            shouldUpdate ? "" : " NOT", dspPtr(varDsc->lvClassHnd), info.compCompHnd->getClassName(varDsc->lvClassHnd),
-            varDsc->lvClassIsExact ? " [exact]" : "", dspPtr(clsHnd), info.compCompHnd->getClassName(clsHnd),
-            isExact ? " [exact]" : "");
+    JITDUMP("\nlvaUpdateClass:%s Updating class for V%02u", shouldUpdate ? "" : " NOT", varNum);
+    JITDUMP(" from(%p) %s%s", dspPtr(varDsc->lvClassHnd), info.compCompHnd->getClassName(varDsc->lvClassHnd),
+            varDsc->lvClassIsExact ? " [exact]" : "");
+    JITDUMP(" to(%p) %s%s\n", dspPtr(clsHnd), info.compCompHnd->getClassName(clsHnd), isExact ? " [exact]" : "");
 
     if (shouldUpdate)
     {