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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206195 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Kaelyn Takata 2014-04-14 17:21:50 +00:00
parent 268c0509a9
commit 1d9c0934a0

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;
}