summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2011-08-12 14:54:45 +0000
committerDuncan Sands <baldrick@free.fr>2011-08-12 14:54:45 +0000
commita41634e307caa823b1e050eb8b4f67fdf4b8e415 (patch)
tree0172f17f10f9238b605692f703516f3d271ff563 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
parent50aa2d480ced9bb792d438f6ff92fe06afa6b84e (diff)
downloadbcm5719-llvm-a41634e307caa823b1e050eb8b4f67fdf4b8e415.tar.gz
bcm5719-llvm-a41634e307caa823b1e050eb8b4f67fdf4b8e415.zip
Silence a bunch (but not all) "variable written but not read" warnings
when building with assertions disabled. llvm-svn: 137460
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index ec8f014f651..8e1e01099a0 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -463,6 +463,7 @@ void SelectionDAGISel::CodeGenAndEmitDAG() {
GroupName = "Instruction Selection and Scheduling";
std::string BlockName;
int BlockNumber = -1;
+ (void)BlockNumber;
#ifdef NDEBUG
if (ViewDAGCombine1 || ViewLegalizeTypesDAGs || ViewLegalizeDAGs ||
ViewDAGCombine2 || ViewDAGCombineLT || ViewISelDAGs || ViewSchedDAGs ||
OpenPOWER on IntegriCloud