mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 03:24:09 +00:00
Remove unnecessary use of NonCopyable
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7641 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user