summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-01-20 18:40:10 +0000
committerChris Lattner <sabre@nondot.org>2006-01-20 18:40:10 +0000
commit15afe462a8ff6e5277aabedc230a62fac22e8ce1 (patch)
tree6735d6ba8defa7ef1442dab09b7890501aaf4679 /llvm/lib
parent222ceabbee96eb84dcd0aa84be9b892da996d74c (diff)
downloadbcm5719-llvm-15afe462a8ff6e5277aabedc230a62fac22e8ce1.tar.gz
bcm5719-llvm-15afe462a8ff6e5277aabedc230a62fac22e8ce1.zip
remove some unintentionally committed code
llvm-svn: 25483
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
index 8d5c2d030d5..2cb6be59a21 100644
--- a/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
@@ -3377,8 +3377,7 @@ bool SelectionDAGLegalize::ExpandShift(unsigned Opc, SDOperand Op,SDOperand Amt,
/// Found.
static void FindLatestCallSeqStart(SDNode *Node, SDNode *&Found,
std::set<SDNode*> &Visited) {
- if (/*Node->getNodeDepth() <= Found->getNodeDepth() ||*/
- Node->getNumOperands() == 0 ||
+ if (Node->getNodeDepth() <= Found->getNodeDepth() ||
!Visited.insert(Node).second) return;
// If we found an CALLSEQ_START, we already know this node occurs later
@@ -3405,7 +3404,7 @@ static void FindLatestCallSeqStart(SDNode *Node, SDNode *&Found,
/// than Found.
static void FindEarliestCallSeqEnd(SDNode *Node, SDNode *&Found,
std::set<SDNode*> &Visited) {
- if (/*(Found && Node->getNodeDepth() >= Found->getNodeDepth()) ||*/
+ if ((Found && Node->getNodeDepth() >= Found->getNodeDepth()) ||
!Visited.insert(Node).second) return;
// If we found an CALLSEQ_END, we already know this node occurs earlier
OpenPOWER on IntegriCloud