Inline value into debug statement to avoid unused variable warning.

llvm-svn: 361924
diff --git a/llvm/lib/CodeGen/MachinePipeliner.cpp b/llvm/lib/CodeGen/MachinePipeliner.cpp
index 051cd07..61441d9 100644
--- a/llvm/lib/CodeGen/MachinePipeliner.cpp
+++ b/llvm/lib/CodeGen/MachinePipeliner.cpp
@@ -3965,13 +3965,12 @@
       continue;
     const MCProcResourceDesc *ProcResource =
         SM.getProcResource(PRE.ProcResourceIdx);
-    unsigned NumUnits = ProcResource->NumUnits;
     ++ProcResourceCount[PRE.ProcResourceIdx];
     LLVM_DEBUG({
       dbgs() << format(" %16s(%2d): Count: %2d, NumUnits:%2d, Cycles:%2d\n",
                        ProcResource->Name, PRE.ProcResourceIdx,
-                       ProcResourceCount[PRE.ProcResourceIdx], NumUnits,
-                       PRE.Cycles);
+                       ProcResourceCount[PRE.ProcResourceIdx],
+                       ProcResource->NumUnits, PRE.Cycles);
     });
   }
   LLVM_DEBUG({ dbgs() << "reserveResources: done!\n\n"; });