summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2017-06-06 07:49:34 +0000
committerChandler Carruth <chandlerc@gmail.com>2017-06-06 07:49:34 +0000
commit6c41bb1bdfe248300a817fceafadfc10dd9eec86 (patch)
tree18257056c8133aa82e8bb5ef1cf3b063224d7019 /llvm
parent1124001c681a92bc7e42f37478cc8d7bb80008f2 (diff)
downloadbcm5719-llvm-6c41bb1bdfe248300a817fceafadfc10dd9eec86.tar.gz
bcm5719-llvm-6c41bb1bdfe248300a817fceafadfc10dd9eec86.zip
Fix an unused variable warning in non-asserts builds.
llvm-svn: 304778
Diffstat (limited to 'llvm')
-rw-r--r--llvm/unittests/Target/AArch64/InstSizes.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/unittests/Target/AArch64/InstSizes.cpp b/llvm/unittests/Target/AArch64/InstSizes.cpp
index 5ee5e9c048a..a4bcd6821ec 100644
--- a/llvm/unittests/Target/AArch64/InstSizes.cpp
+++ b/llvm/unittests/Target/AArch64/InstSizes.cpp
@@ -68,6 +68,7 @@ void runChecks(
MachineModuleInfo MMI(TM);
bool Res = MParser->parseMachineFunctions(*M, MMI);
+ (void)Res;
assert(!Res && "Couldn't parse MIR functions");
auto F = M->getFunction("sizes");
OpenPOWER on IntegriCloud