diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-06 17:16:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-06 17:16:24 +0000 |
commit | 804312786002b69b6b63ffce63c7074a254ccbb6 (patch) | |
tree | 829f7eb6ebd43b34945cfd8e3e1860d9ee03a288 /lib/Analysis/DataStructure/Parallelize.cpp | |
parent | dfd414ab770a389d29b7294f20e38cbf74c9f9a9 (diff) |
Remove unnecessary use of NonCopyable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7641 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/Parallelize.cpp')
-rw-r--r-- | lib/Analysis/DataStructure/Parallelize.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Analysis/DataStructure/Parallelize.cpp b/lib/Analysis/DataStructure/Parallelize.cpp index 46fbcc7d85..81a525267c 100644 --- a/lib/Analysis/DataStructure/Parallelize.cpp +++ b/lib/Analysis/DataStructure/Parallelize.cpp @@ -45,7 +45,6 @@ #include "llvm/DerivedTypes.h" #include "llvm/Support/InstVisitor.h" #include "llvm/Support/Cilkifier.h" -#include "Support/NonCopyable.h" #include "Support/Statistic.h" #include "Support/STLExtras.h" #include "Support/hash_set" @@ -280,9 +279,7 @@ void Cilkifier::visitCallInst(CallInst& CI) // useful parallelism. //---------------------------------------------------------------------------- -class FindParallelCalls: public InstVisitor<FindParallelCalls>, - public NonCopyable -{ +class FindParallelCalls : public InstVisitor<FindParallelCalls> { typedef hash_set<CallInst*> DependentsSet; typedef DependentsSet::iterator Dependents_iterator; typedef DependentsSet::const_iterator Dependents_const_iterator; @@ -296,6 +293,8 @@ class FindParallelCalls: public InstVisitor<FindParallelCalls>, CallInst* root, DependentsSet& depsOfRoot); + FindParallelCalls(const FindParallelCalls &); // DO NOT IMPLEMENT + void operator=(const FindParallelCalls&); // DO NOT IMPLEMENT public: std::vector<CallInst*> parallelCalls; |