Silence unused variable warnings in release builds.
authorChandler Carruth <chandlerc@gmail.com>
Fri, 5 Aug 2011 01:08:21 +0000 (01:08 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 5 Aug 2011 01:08:21 +0000 (01:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136956 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp

index 05f46f6b6b18eed64800b846cb7f4f1b9be050d5..f4a7ab254dafb58d8e8c3bdf30a4c14c2079574d 100644 (file)
@@ -102,6 +102,8 @@ public:
     const uint64_t Mask = ~0ULL;
     const uint64_t UpperV = (Value >> (Size * 8));
     const uint64_t MaskF = (Mask >> (Size * 8));
+    (void)UpperV;
+    (void)MaskF;
     assert(((Size == 8) ||
             ((UpperV & MaskF) == 0ULL) || ((UpperV & MaskF) == MaskF)) &&
            "Value does not fit in the Fixup field");