diff options
author | Marcin Koscielnicki <koriakin@0x04.net> | 2016-04-26 10:43:47 +0000 |
---|---|---|
committer | Marcin Koscielnicki <koriakin@0x04.net> | 2016-04-26 10:43:47 +0000 |
commit | 834381f19cedbeba910f1c1434677246c595156b (patch) | |
tree | b06e9f07707ca07613549081e4fb55d4d361f709 /llvm/lib/Target/Sparc/SparcInstrInfo.cpp | |
parent | 7ecdeb7ac37e39eddee8249b52294c3085ae8541 (diff) | |
download | bcm5719-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/SparcInstrInfo.cpp')
-rw-r--r-- | llvm/lib/Target/Sparc/SparcInstrInfo.cpp | 2 |
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; |