[mips] Fix unused variable warning for release builds introduced by r268379.

llvm-svn: 268383
This commit is contained in:
Daniel Sanders 2016-05-03 14:00:37 +00:00
parent 7a1b7addf8
commit c1e6aa7e26
1 changed files with 1 additions and 3 deletions

View File

@ -138,9 +138,7 @@ static void printExpr(const MCExpr *Expr, const MCAsmInfo *MAI,
} else
SRE = cast<MCSymbolRefExpr>(Expr);
MCSymbolRefExpr::VariantKind Kind = SRE->getKind();
assert(Kind == MCSymbolRefExpr::VK_None && "Invalid kind!");
assert(SRE->getKind() == MCSymbolRefExpr::VK_None && "Invalid kind!");
SRE->getSymbol().print(OS, MAI);