diff options
author | Chris Lattner <sabre@nondot.org> | 2010-02-24 21:25:08 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-02-24 21:25:08 +0000 |
commit | a1461ccfa0f19b2a81afb401c1d772f751edf7ae (patch) | |
tree | 057cf6f0297756c3daf5ab6d291eec3b3662aaad /lib/CodeGen/SelectionDAG/SelectionDAG.cpp | |
parent | 2f9b6851982608e8aa20ca99398daf949d0f707b (diff) |
revert david's patch which does not even build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97057 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAG.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 2108717c5b..41050211b2 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -6344,8 +6344,8 @@ bool ShuffleVectorSDNode::isSplatMask(const int *Mask, EVT VT) { } static void checkForCyclesHelper(const SDNode *N, - SmallPtrSet<const SDNode *, 32> &visited, - SmallPtrSet<const SDNode *, 32> &checked) { + std::set<const SDNode *> &visited, + std::set<const SDNode *> &checked) { if (checked.find(N) != checked.end()) return; @@ -6371,8 +6371,8 @@ static void checkForCyclesHelper(const SDNode *N, void llvm::checkForCycles(const llvm::SDNode *N) { #ifdef XDEBUG assert(N && "Checking nonexistant SDNode"); - SmallPtrSet<const SDNode *, 32> visited; - SmallPtrSet<const SDNode *, 32> checked; + std::set<const SDNode *> visited; + std::set<const SDNode *> checked; checkForCyclesHelper(N, visited, checked); #endif } |