diff options
Diffstat (limited to 'llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp b/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp index e46958527b3..e4a05bbeadd 100644 --- a/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp +++ b/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp @@ -616,11 +616,12 @@ private: Value *base; // non null only if status == base }; +#ifndef NDEBUG inline raw_ostream &operator<<(raw_ostream &OS, const BDVState &State) { State.print(OS); return OS; } - +#endif typedef DenseMap<Value *, BDVState> ConflictStateMapTy; // Values of type BDVState form a lattice, and this is a helper |