diff options
author | Evan Cheng <evan.cheng@apple.com> | 2010-04-29 01:40:30 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2010-04-29 01:40:30 +0000 |
commit | 5fb45a2b85d42d16525bd0c2a02f7e9284457a39 (patch) | |
tree | 2b02fef99f0b428ab45d6913087c0fce6c9bdef3 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h | |
parent | d9e7322c9a87e2df35e36c5022c290fdba3a78c1 (diff) | |
download | bcm5719-llvm-5fb45a2b85d42d16525bd0c2a02f7e9284457a39.tar.gz bcm5719-llvm-5fb45a2b85d42d16525bd0c2a02f7e9284457a39.zip |
Do not generate duplicate dbg_value instructions for function arguments.
llvm-svn: 102585
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h index b07d70a4dab..f52c0e0b31e 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h +++ b/llvm/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); }; |