summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/CodeGen/SelectionDAG.h2
-rw-r--r--llvm/include/llvm/CodeGen/SelectionDAGNodes.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/llvm/include/llvm/CodeGen/SelectionDAG.h b/llvm/include/llvm/CodeGen/SelectionDAG.h
index 1edf71fe30e..f9a760fb2e4 100644
--- a/llvm/include/llvm/CodeGen/SelectionDAG.h
+++ b/llvm/include/llvm/CodeGen/SelectionDAG.h
@@ -215,9 +215,7 @@ class SelectionDAG {
/// Tracks dbg_value information through SDISel.
SDDbgInfo *DbgInfo;
-#ifndef NDEBUG
uint16_t NextPersistentId;
-#endif
public:
/// Clients of various APIs that cause global effects on
diff --git a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
index 2f31f8d9b31..e0eadfaa2b3 100644
--- a/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
+++ b/llvm/include/llvm/CodeGen/SelectionDAGNodes.h
@@ -426,11 +426,9 @@ private:
friend struct ilist_traits<SDNode>;
public:
-#ifndef NDEBUG
/// Unique and persistent id per SDNode in the DAG.
/// Used for debug printing.
uint16_t PersistentId;
-#endif
//===--------------------------------------------------------------------===//
// Accessors
OpenPOWER on IntegriCloud