Remove the target machine from CCState. Previously it was only used
[oota-llvm.git] / lib / Target / R600 / SIISelLowering.cpp
index 2e982e2c0a3ae6679b9f7aea5fd2db8af9f8cd82..f7717dacfc60edda76804037983d368397705006 100644 (file)
@@ -395,8 +395,8 @@ SDValue SITargetLowering::LowerFormalArguments(
   }
 
   SmallVector<CCValAssign, 16> ArgLocs;
-  CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(),
-                 getTargetMachine(), ArgLocs, *DAG.getContext());
+  CCState CCInfo(CallConv, isVarArg, DAG.getMachineFunction(), ArgLocs,
+                 *DAG.getContext());
 
   // At least one interpolation mode must be enabled or else the GPU will hang.
   if (Info->getShaderType() == ShaderType::PIXEL &&