1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00

remove some unintentionally committed code

llvm-svn: 25483
This commit is contained in:
Chris Lattner 2006-01-20 18:40:10 +00:00
parent 737a8dab41
commit a348dc9195

View File

@ -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