summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmjad Aboud <amjad.aboud@intel.com>2016-06-26 13:36:23 +0000
committerAmjad Aboud <amjad.aboud@intel.com>2016-06-26 13:36:23 +0000
commit1c56f09923714ae23c86701e0b4baa820ddf95d1 (patch)
tree4fa2b5dde184329a41a16e6ae220b32ecadcdf86
parent1d63a7ddba310aa447de4450dd3eae64c516f296 (diff)
Fixed build failure (due to unused variable error) in r273807.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273810 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/AsmPrinter/CodeViewDebug.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp b/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
index cb834f577b6..46917f8e82f 100644
--- a/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
+++ b/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
@@ -956,6 +956,7 @@ TypeIndex CodeViewDebug::lowerTypeArray(const DICompositeType *Ty) {
ArrayRecord(ElementTypeIndex, IndexType, ElementSize, Name));
}
+ (void)UndefinedSubrange;
assert(UndefinedSubrange || ElementSize == (Ty->getSizeInBits() / 8));
return ElementTypeIndex;