OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9695d08
)
[x86] Fix unused variable warning in no-asserts build.
author
Chandler Carruth
<chandlerc@gmail.com>
Sat, 26 Jul 2014 00:04:41 +0000
(
00:04
+0000)
committer
Chandler Carruth
<chandlerc@gmail.com>
Sat, 26 Jul 2014 00:04:41 +0000
(
00:04
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213989
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86MCInstLower.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86MCInstLower.cpp
b/lib/Target/X86/X86MCInstLower.cpp
index
9fa171c
..
febf821
100644
(file)
--- a/
lib/Target/X86/X86MCInstLower.cpp
+++ b/
lib/Target/X86/X86MCInstLower.cpp
@@
-1000,6
+1000,7
@@
void X86AsmPrinter::EmitInstruction(const MachineInstr *MI) {
const MachineConstantPoolEntry &MaskConstantEntry =
Constants[MI->getOperand(5).getIndex()];
Type *MaskTy = MaskConstantEntry.getType();
+ (void)MaskTy;
if (!MaskConstantEntry.isMachineConstantPoolEntry())
if (auto *C = dyn_cast<ConstantDataSequential>(
MaskConstantEntry.Val.ConstVal)) {