summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2015-09-02 21:57:17 +0000
committerPhilip Reames <listmail@philipreames.com>2015-09-02 21:57:17 +0000
commit6906e928122e79a0d024d655b54d84b1d591d2ba (patch)
tree76b85f0d625722bda5ae585fc63d25a82fbabe3d /llvm/lib/Transforms
parentb865f61ff9cd6a113427d4c3621d72d91e492fdb (diff)
downloadbcm5719-llvm-6906e928122e79a0d024d655b54d84b1d591d2ba.tar.gz
bcm5719-llvm-6906e928122e79a0d024d655b54d84b1d591d2ba.zip
Fix release build warning for unused function
llvm-svn: 246717
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp3
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
OpenPOWER on IntegriCloud