Remove a variable from r206192 that is only used in an assert.

llvm-svn: 206195
This commit is contained in:
Kaelyn Takata 2014-04-14 17:21:50 +00:00
parent bf62cde86e
commit 1bd7494436

View File

@ -13,8 +13,8 @@ using namespace llvm;
static MCSymbolRefExpr::VariantKind getAccessVariant(const MCExpr *Expr) {
switch (Expr->getKind()) {
case MCExpr::Unary: {
const MCUnaryExpr *UE = cast<MCUnaryExpr>(Expr);
assert(getAccessVariant(UE->getSubExpr()) == MCSymbolRefExpr::VK_None);
assert(getAccessVariant(cast<MCUnaryExpr>(Expr)->getSubExpr()) ==
MCSymbolRefExpr::VK_None);
return MCSymbolRefExpr::VK_None;
}