summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-04-29 01:40:30 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-04-29 01:40:30 +0000
commit9e8a2b93465bc8abd9b318faebb256b1c168baa9 (patch)
tree09d6f461edf9ea95fb872b7103921d647d2939c6 /lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
parentc924556dd5fd3a3912d5e9ce201ee571bdefdd1a (diff)
downloadllvm-9e8a2b93465bc8abd9b318faebb256b1c168baa9.tar.gz
llvm-9e8a2b93465bc8abd9b318faebb256b1c168baa9.tar.bz2
llvm-9e8a2b93465bc8abd9b318faebb256b1c168baa9.tar.xz
Do not generate duplicate dbg_value instructions for function arguments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102585 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h')
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
index b07d70a4da..f52c0e0b31 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
+++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
@@ -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);
};