Do not generate duplicate dbg_value instructions for function arguments.
[oota-llvm.git] / lib / CodeGen / SelectionDAG / SelectionDAGBuilder.h
index b07d70a4dabd02635daff9a247409fb779824527..f52c0e0b31e58b2cb9d26d37a75e119f755e747c 100644 (file)
@@ -502,7 +502,7 @@ private:
   /// function argument, create the corresponding DBG_VALUE machine instruction
   /// for it now. At the end of instruction selection, they will be inserted to
   /// the entry BB.
-  void EmitFuncArgumentDbgValue(const DbgValueInst &DI,
+  bool EmitFuncArgumentDbgValue(const DbgValueInst &DI,
                                 const Value *V, MDNode *Variable,
                                 uint64_t Offset, SDValue &N);
 };