mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-02 00:16:25 +00:00
Remove a variable from r206192 that is only used in an assert.
llvm-svn: 206195
This commit is contained in:
parent
bf62cde86e
commit
1bd7494436
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user