mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-24 09:29:42 +00:00
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:
parent
268c0509a9
commit
1d9c0934a0
@ -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