mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-29 10:25:12 +00:00
Move the endif to the correct line so we don't have warnings about
unused statistics variables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177494 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1117,8 +1117,8 @@ AllocaPartitioning::AllocaPartitioning(const DataLayout &TD, AllocaInst &AI)
|
|||||||
#if !defined(NDEBUG) || defined(LLVM_ENABLE_STATS)
|
#if !defined(NDEBUG) || defined(LLVM_ENABLE_STATS)
|
||||||
for (unsigned Idx = 0, Size = Uses.size(); Idx != Size; ++Idx)
|
for (unsigned Idx = 0, Size = Uses.size(); Idx != Size; ++Idx)
|
||||||
NumUses += Uses[Idx].size();
|
NumUses += Uses[Idx].size();
|
||||||
NumAllocaPartitionUses += NumUses;
|
|
||||||
#endif
|
#endif
|
||||||
|
NumAllocaPartitionUses += NumUses;
|
||||||
MaxPartitionUsesPerAlloca = std::max<unsigned>(NumUses, MaxPartitionUsesPerAlloca);
|
MaxPartitionUsesPerAlloca = std::max<unsigned>(NumUses, MaxPartitionUsesPerAlloca);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user