summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristof Beyls <kristof.beyls@arm.com>2014-01-10 14:20:45 +0000
committerKristof Beyls <kristof.beyls@arm.com>2014-01-10 14:20:45 +0000
commit90ff80e32973e7452b16a04ed8cfdc5e54998a16 (patch)
tree5e1c15975ea2542f10406f3f8ec7c761c21b0492
parentfb38729d78e9aba428758af0de6037907d361825 (diff)
downloadbcm5719-llvm-90ff80e32973e7452b16a04ed8cfdc5e54998a16.tar.gz
bcm5719-llvm-90ff80e32973e7452b16a04ed8cfdc5e54998a16.zip
Silence unused variable warning for non-asserting builds that was introduced in r198937.
llvm-svn: 198941
-rw-r--r--llvm/lib/Target/AArch64/AArch64ISelLowering.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
index 167281c57e8..0d9c516660a 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@ -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();
}
OpenPOWER on IntegriCloud