commit | e4b275610a7a05b7ee4c0378a906a6330e4c4ab0 | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Fri Aug 28 23:24:31 2009 +0000 |
committer | Devang Patel <dpatel@apple.com> | Fri Aug 28 23:24:31 2009 +0000 |
tree | ad839c82009fa9220c9934db785cfa5ee35c9d25 | |
parent | e4e4ed3b56f63e9343e01bf0b2ecd7c1f45d296c [diff] [blame] |
Reapply 79977. Use MDNodes to encode debug info in llvm IR. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80406 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index ee58d2e..11f12c9 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
@@ -1286,7 +1286,7 @@ SDValue SelectionDAG::getDbgStopPoint(DebugLoc DL, SDValue Root, unsigned Line, unsigned Col, - Value *CU) { + MDNode *CU) { SDNode *N = NodeAllocator.Allocate<DbgStopPointSDNode>(); new (N) DbgStopPointSDNode(Root, Line, Col, CU); N->setDebugLoc(DL);