summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/Parallelize.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-06 17:16:24 +0000
committerChris Lattner <sabre@nondot.org>2003-08-06 17:16:24 +0000
commitc592c9f8a38cc21aea8b77f666816f64c7fe6f03 (patch)
treee6a84d6428ca8754155d30bbbb4b83aaf67a3ccf /llvm/lib/Transforms/IPO/Parallelize.cpp
parent31b31d94d9c546b29e35a2f5bd61eb63011fa76b (diff)
downloadbcm5719-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.cpp7
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;
OpenPOWER on IntegriCloud