diff options
author | Devang Patel <dpatel@apple.com> | 2009-11-21 02:46:55 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-11-21 02:46:55 +0000 |
commit | ed85e12da65031f3a75804ff8d11b10e31c0107b (patch) | |
tree | b98bd14ff5c017a66b0d9c06d717487c71e6a99d /llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 960ad9a8ab348594d39e861ddf007f73597ec5b7 (diff) | |
download | bcm5719-llvm-ed85e12da65031f3a75804ff8d11b10e31c0107b.tar.gz bcm5719-llvm-ed85e12da65031f3a75804ff8d11b10e31c0107b.zip |
We are not using DBG_STOPPOINT anymore.
llvm-svn: 89536
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index f0837d2b10b..94583ae1181 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -393,13 +393,7 @@ static void AddNodeIDCustom(FoldingSetNodeID &ID, const SDNode *N) { case ISD::Register: ID.AddInteger(cast<RegisterSDNode>(N)->getReg()); break; - case ISD::DBG_STOPPOINT: { - const DbgStopPointSDNode *DSP = cast<DbgStopPointSDNode>(N); - ID.AddInteger(DSP->getLine()); - ID.AddInteger(DSP->getColumn()); - ID.AddPointer(DSP->getCompileUnit()); - break; - } + case ISD::SRCVALUE: ID.AddPointer(cast<SrcValueSDNode>(N)->getValue()); break; @@ -510,7 +504,6 @@ static bool doNotCSE(SDNode *N) { default: break; case ISD::HANDLENODE: case ISD::DBG_LABEL: - case ISD::DBG_STOPPOINT: case ISD::EH_LABEL: return true; // Never CSE these nodes. } @@ -1297,16 +1290,6 @@ SDValue SelectionDAG::getRegister(unsigned RegNo, EVT VT) { return SDValue(N, 0); } -SDValue SelectionDAG::getDbgStopPoint(DebugLoc DL, SDValue Root, - unsigned Line, unsigned Col, - MDNode *CU) { - SDNode *N = NodeAllocator.Allocate<DbgStopPointSDNode>(); - new (N) DbgStopPointSDNode(Root, Line, Col, CU); - N->setDebugLoc(DL); - AllNodes.push_back(N); - return SDValue(N, 0); -} - SDValue SelectionDAG::getLabel(unsigned Opcode, DebugLoc dl, SDValue Root, unsigned LabelID) { @@ -5590,7 +5573,6 @@ std::string SDNode::getOperationName(const SelectionDAG *G) const { case ISD::CTLZ: return "ctlz"; // Debug info - case ISD::DBG_STOPPOINT: return "dbg_stoppoint"; case ISD::DEBUG_LOC: return "debug_loc"; // Trampolines |