mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-16 11:30:51 +00:00
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:
parent
a9ad60c412
commit
a9608f7f0e
@ -30,8 +30,8 @@
|
|||||||
using namespace llvm;
|
using namespace llvm;
|
||||||
|
|
||||||
static TargetLoweringObjectFile *createTLOF(AArch64TargetMachine &TM) {
|
static TargetLoweringObjectFile *createTLOF(AArch64TargetMachine &TM) {
|
||||||
const AArch64Subtarget *Subtarget = &TM.getSubtarget<AArch64Subtarget>();
|
assert (TM.getSubtarget<AArch64Subtarget>().isTargetELF() &&
|
||||||
assert (Subtarget->isTargetELF() && "unknown subtarget type");
|
"unknown subtarget type");
|
||||||
return new AArch64ElfTargetObjectFile();
|
return new AArch64ElfTargetObjectFile();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user