forked from OSchip/llvm-project
Silence unused variable warning for non-asserting builds that was introduced in r198937.
llvm-svn: 198941
This commit is contained in:
parent
fb38729d78
commit
90ff80e329
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue