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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198941 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Kristof Beyls 2014-01-10 14:20:45 +00:00
parent a9ad60c412
commit a9608f7f0e

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