summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc
diff options
context:
space:
mode:
authorMarcin Koscielnicki <koriakin@0x04.net>2016-04-26 10:43:47 +0000
committerMarcin Koscielnicki <koriakin@0x04.net>2016-04-26 10:43:47 +0000
commit834381f19cedbeba910f1c1434677246c595156b (patch)
treeb06e9f07707ca07613549081e4fb55d4d361f709 /llvm/lib/Target/Sparc
parent7ecdeb7ac37e39eddee8249b52294c3085ae8541 (diff)
downloadbcm5719-llvm-834381f19cedbeba910f1c1434677246c595156b.tar.gz
bcm5719-llvm-834381f19cedbeba910f1c1434677246c595156b.zip
[Sparc] Fix build error introduced by rL267545.
llvm-svn: 267549
Diffstat (limited to 'llvm/lib/Target/Sparc')
-rw-r--r--llvm/lib/Target/Sparc/SparcInstrInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/Sparc/SparcInstrInfo.cpp b/llvm/lib/Target/Sparc/SparcInstrInfo.cpp
index 175d4b73d59..996afc4417a 100644
--- a/llvm/lib/Target/Sparc/SparcInstrInfo.cpp
+++ b/llvm/lib/Target/Sparc/SparcInstrInfo.cpp
@@ -495,7 +495,7 @@ unsigned SparcInstrInfo::getGlobalBaseReg(MachineFunction *MF) const
bool SparcInstrInfo::expandPostRAPseudo(MachineBasicBlock::iterator MI) const {
switch (MI->getOpcode()) {
case TargetOpcode::LOAD_STACK_GUARD: {
- assert(Subtarget->isTargetLinux() &&
+ assert(Subtarget.isTargetLinux() &&
"Only Linux target is expected to contain LOAD_STACK_GUARD");
// offsetof(tcbhead_t, stack_guard) from sysdeps/sparc/nptl/tls.h in glibc.
const int64_t Offset = Subtarget.is64Bit() ? 0x28 : 0x14;
OpenPOWER on IntegriCloud