summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-03 17:11:42 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-04-03 17:11:42 +0000
commit66463cc5dca09162308050616bce621e040f3c4d (patch)
treea2216796d0c824eea7a212e42833d472bc947c55 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
parent1d57433c504e1aff17bbfa3b6ab4ee871a1c22fd (diff)
downloadbcm5719-llvm-66463cc5dca09162308050616bce621e040f3c4d.tar.gz
bcm5719-llvm-66463cc5dca09162308050616bce621e040f3c4d.zip
SelectionDAG: Use specialized metadata nodes in EmitFuncArgumentDbgValue(), NFC
Use `MDLocalVariable` and `MDExpression` directly for the arguments of `EmitFuncArgumentDbgValue()` to simplify a follow-up patch. llvm-svn: 234026
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
index 30240d8d864..d864a5f63bf 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
@@ -823,9 +823,9 @@ private:
/// EmitFuncArgumentDbgValue - If V is an function argument then create
/// corresponding DBG_VALUE machine instruction for it now. At the end of
/// instruction selection, they will be inserted to the entry BB.
- bool EmitFuncArgumentDbgValue(const Value *V, MDNode *Variable, MDNode *Expr,
- int64_t Offset, bool IsIndirect,
- const SDValue &N);
+ bool EmitFuncArgumentDbgValue(const Value *V, MDLocalVariable *Variable,
+ MDExpression *Expr, int64_t Offset,
+ bool IsIndirect, const SDValue &N);
/// Return the next block after MBB, or nullptr if there is none.
MachineBasicBlock *NextBlock(MachineBasicBlock *MBB);
OpenPOWER on IntegriCloud