[llvm] r267549 - [Sparc] Fix build error introduced by rL267545.

Marcin Koscielnicki via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 26 03:43:47 PDT 2016


Author: koriakin
Date: Tue Apr 26 05:43:47 2016
New Revision: 267549

URL: http://llvm.org/viewvc/llvm-project?rev=267549&view=rev
Log:
[Sparc] Fix build error introduced by rL267545.

Modified:
    llvm/trunk/lib/Target/Sparc/SparcInstrInfo.cpp

Modified: llvm/trunk/lib/Target/Sparc/SparcInstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Sparc/SparcInstrInfo.cpp?rev=267549&r1=267548&r2=267549&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Sparc/SparcInstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/Sparc/SparcInstrInfo.cpp Tue Apr 26 05:43:47 2016
@@ -495,7 +495,7 @@ unsigned SparcInstrInfo::getGlobalBaseRe
 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;




More information about the llvm-commits mailing list