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 | c592c9f8a38cc21aea8b77f666816f64c7fe6f03 (patch) | |
| tree | e6a84d6428ca8754155d30bbbb4b83aaf67a3ccf /llvm/lib/Transforms/IPO/Parallelize.cpp | |
| parent | 31b31d94d9c546b29e35a2f5bd61eb63011fa76b (diff) | |
| download | bcm5719-llvm-c592c9f8a38cc21aea8b77f666816f64c7fe6f03.tar.gz bcm5719-llvm-c592c9f8a38cc21aea8b77f666816f64c7fe6f03.zip | |
Remove unnecessary use of NonCopyable
llvm-svn: 7641
Diffstat (limited to 'llvm/lib/Transforms/IPO/Parallelize.cpp')
| -rw-r--r-- | llvm/lib/Transforms/IPO/Parallelize.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/IPO/Parallelize.cpp b/llvm/lib/Transforms/IPO/Parallelize.cpp index 46fbcc7d855..81a525267cb 100644 --- a/llvm/lib/Transforms/IPO/Parallelize.cpp +++ b/llvm/lib/Transforms/IPO/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; |

