Revert "[DebugInfo] Add debug locations to constant SD nodes"
[oota-llvm.git] / include / llvm / CodeGen / SelectionDAGNodes.h
index a8acb5252d35842a23088fd5143d5ac46cf1e05e..148eaa92df4da936a69b676fd1d87d6379748cd8 100644 (file)
@@ -1361,10 +1361,9 @@ public:
 class ConstantSDNode : public SDNode {
   const ConstantInt *Value;
   friend class SelectionDAG;
-  ConstantSDNode(bool isTarget, bool isOpaque, const ConstantInt *val,
-                 DebugLoc DL, EVT VT)
+  ConstantSDNode(bool isTarget, bool isOpaque, const ConstantInt *val, EVT VT)
     : SDNode(isTarget ? ISD::TargetConstant : ISD::Constant,
-             0, DL, getSDVTList(VT)), Value(val) {
+             0, DebugLoc(), getSDVTList(VT)), Value(val) {
     SubclassData |= (uint16_t)isOpaque;
   }
 public: