mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-21 03:05:26 -04:00
Inline a variable into debug section to fix unused variable warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361927 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -3963,10 +3963,10 @@ void ResourceManager::reserveResources(const MCInstrDesc *MID) {
|
||||
STI->getWriteProcResEnd(SCDesc))) {
|
||||
if (!PRE.Cycles)
|
||||
continue;
|
||||
const MCProcResourceDesc *ProcResource =
|
||||
SM.getProcResource(PRE.ProcResourceIdx);
|
||||
++ProcResourceCount[PRE.ProcResourceIdx];
|
||||
LLVM_DEBUG({
|
||||
const MCProcResourceDesc *ProcResource =
|
||||
SM.getProcResource(PRE.ProcResourceIdx);
|
||||
dbgs() << format(" %16s(%2d): Count: %2d, NumUnits:%2d, Cycles:%2d\n",
|
||||
ProcResource->Name, PRE.ProcResourceIdx,
|
||||
ProcResourceCount[PRE.ProcResourceIdx],
|
||||
|
||||
Reference in New Issue
Block a user