mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needing to mention the size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215868 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -6398,7 +6398,7 @@ bool SDNode::hasPredecessor(const SDNode *N) const {
|
||||
|
||||
bool
|
||||
SDNode::hasPredecessorHelper(const SDNode *N,
|
||||
SmallPtrSet<const SDNode *, 32> &Visited,
|
||||
SmallPtrSetImpl<const SDNode *> &Visited,
|
||||
SmallVectorImpl<const SDNode *> &Worklist) const {
|
||||
if (Visited.empty()) {
|
||||
Worklist.push_back(this);
|
||||
@@ -6776,8 +6776,8 @@ bool ShuffleVectorSDNode::isSplatMask(const int *Mask, EVT VT) {
|
||||
|
||||
#ifndef NDEBUG
|
||||
static void checkForCyclesHelper(const SDNode *N,
|
||||
SmallPtrSet<const SDNode*, 32> &Visited,
|
||||
SmallPtrSet<const SDNode*, 32> &Checked,
|
||||
SmallPtrSetImpl<const SDNode*> &Visited,
|
||||
SmallPtrSetImpl<const SDNode*> &Checked,
|
||||
const llvm::SelectionDAG *DAG) {
|
||||
// If this node has already been checked, don't check it again.
|
||||
if (Checked.count(N))
|
||||
|
Reference in New Issue
Block a user