The subtarget in MipsTargetLowering isn't going to change and
[oota-llvm.git] / lib / Target / Mips / Mips16ISelLowering.cpp
index 118612ae569017dc7f5a46f40d3c14c07e0b3d5f..d4cfaf4b996febe8bf1dc187ec838f6bd7b46037 100644 (file)
@@ -427,7 +427,7 @@ getOpndList(SmallVectorImpl<SDValue> &Ops,
   const char* Mips16HelperFunction = nullptr;
   bool NeedMips16Helper = false;
 
-  if (Subtarget->inMips16HardFloat()) {
+  if (Subtarget.inMips16HardFloat()) {
     //
     // currently we don't have symbols tagged with the mips16 or mips32
     // qualifier so we will assume that we don't know what kind it is.