Fix printing in `CodeGen::siEndScope`. (dotnet/coreclr#20698)
authorSergey Andreenko <seandree@microsoft.com>
Tue, 30 Oct 2018 23:04:24 +0000 (16:04 -0700)
committerGitHub <noreply@github.com>
Tue, 30 Oct 2018 23:04:24 +0000 (16:04 -0700)
Commit migrated from https://github.com/dotnet/coreclr/commit/6bdaffad6bc168e3b2620203a3aa17681e167914

src/coreclr/src/jit/scopeinfo.cpp

index 88e1eef..d70a33b 100644 (file)
@@ -259,12 +259,12 @@ void CodeGen::siEndScope(unsigned varNum)
         }
     }
 
-    JITDUMP("siEndScope: Failed to end scope for V%02u\n");
+    JITDUMP("siEndScope: Failed to end scope for V%02u\n", varNum);
 
     // At this point, we probably have a bad LocalVarTab
     if (compiler->opts.compDbgCode)
     {
-        JITDUMP("...checking var tab validity\n", varNum);
+        JITDUMP("...checking var tab validity\n");
 
         // Note the following assert is saying that we expect
         // the VM supplied info to be invalid...