Use LLVM_ENABLE_DUMP for the variables used in printing as well as the
printing functions themselves. Part of PR14324 (which should have just been a patch to the list, but hey...) llvm-svn: 168362
This commit is contained in:
parent
3e994a26e2
commit
b7915f7fbf
|
@ -334,7 +334,7 @@ private:
|
||||||
class UseBuilder;
|
class UseBuilder;
|
||||||
friend class AllocaPartitioning::UseBuilder;
|
friend class AllocaPartitioning::UseBuilder;
|
||||||
|
|
||||||
#ifndef NDEBUG
|
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
|
||||||
/// \brief Handle to alloca instruction to simplify method interfaces.
|
/// \brief Handle to alloca instruction to simplify method interfaces.
|
||||||
AllocaInst &AI;
|
AllocaInst &AI;
|
||||||
#endif
|
#endif
|
||||||
|
@ -1126,7 +1126,7 @@ void AllocaPartitioning::splitAndMergePartitions() {
|
||||||
|
|
||||||
AllocaPartitioning::AllocaPartitioning(const DataLayout &TD, AllocaInst &AI)
|
AllocaPartitioning::AllocaPartitioning(const DataLayout &TD, AllocaInst &AI)
|
||||||
:
|
:
|
||||||
#ifndef NDEBUG
|
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
|
||||||
AI(AI),
|
AI(AI),
|
||||||
#endif
|
#endif
|
||||||
PointerEscapingInstr(0) {
|
PointerEscapingInstr(0) {
|
||||||
|
|
Loading…
Reference in New Issue