Index: src/IceInstX8632.cpp |
diff --git a/src/IceInstX8632.cpp b/src/IceInstX8632.cpp |
index 815b617cc7da320f33dd7fc2a49ee2f25598af19..622c9edf1de27856429836c36356311f47f44b6c 100644 |
--- a/src/IceInstX8632.cpp |
+++ b/src/IceInstX8632.cpp |
@@ -480,6 +480,7 @@ void InstX8632Jmp::emitIAS(const Cfg *Func) const { |
llvm::report_fatal_error("Assembler can't jmp to memory operand"); |
} |
} else if (const auto Mem = llvm::dyn_cast<OperandX8632Mem>(Target)) { |
+ (void)Mem; |
assert(Mem->getSegmentRegister() == OperandX8632Mem::DefaultSegment); |
llvm::report_fatal_error("Assembler can't jmp to memory operand"); |
} else if (const auto CR = llvm::dyn_cast<ConstantRelocatable>(Target)) { |