Silence unused variable warning for non-asserting builds that was introduced in r198937.

llvm-svn: 198941
This commit is contained in:
Kristof Beyls 2014-01-10 14:20:45 +00:00
parent fb38729d78
commit 90ff80e329
1 changed files with 2 additions and 2 deletions

View File

@ -30,8 +30,8 @@
using namespace llvm;
static TargetLoweringObjectFile *createTLOF(AArch64TargetMachine &TM) {
const AArch64Subtarget *Subtarget = &TM.getSubtarget<AArch64Subtarget>();
assert (Subtarget->isTargetELF() && "unknown subtarget type");
assert (TM.getSubtarget<AArch64Subtarget>().isTargetELF() &&
"unknown subtarget type");
return new AArch64ElfTargetObjectFile();
}