forked from OSchip/llvm-project
[mips] Fix unused variable warning for release builds introduced by r268379.
llvm-svn: 268383
This commit is contained in:
parent
7a1b7addf8
commit
c1e6aa7e26
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue