Make lvaSetClass dump diffable
authorCarol Eidt <carol.eidt@microsoft.com>
Thu, 22 Jun 2017 17:35:36 +0000 (10:35 -0700)
committerCarol Eidt <carol.eidt@microsoft.com>
Thu, 22 Jun 2017 17:39:45 +0000 (10:39 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/d9cdd1b0421fbc2f53c7f69184b294af01590043

src/coreclr/src/jit/lclvars.cpp

index 0d557de..2e6cf18 100644 (file)
@@ -2328,7 +2328,7 @@ void Compiler::lvaSetClass(unsigned varNum, CORINFO_CLASS_HANDLE clsHnd, bool is
     assert(varDsc->lvClassHnd == nullptr);
     assert(!varDsc->lvClassIsExact);
 
-    JITDUMP("\nlvaSetClass: setting class for V%02i to (%p) %s %s\n", varNum, clsHnd,
+    JITDUMP("\nlvaSetClass: setting class for V%02i to (%p) %s %s\n", varNum, dspPtr(clsHnd),
             info.compCompHnd->getClassName(clsHnd), isExact ? " [exact]" : "");
 
     varDsc->lvClassHnd     = clsHnd;