forked from OSchip/llvm-project
disable copying, enforce some invariants.
llvm-svn: 88870
This commit is contained in:
parent
7735878591
commit
ee4cf81d9a
|
@ -27,9 +27,12 @@ namespace llvm {
|
|||
class LazyValueInfo : public FunctionPass {
|
||||
class TargetData *TD;
|
||||
void *PImpl;
|
||||
LazyValueInfo(const LazyValueInfo&); // DO NOT IMPLEMENT.
|
||||
void operator=(const LazyValueInfo&); // DO NOT IMPLEMENT.
|
||||
public:
|
||||
static char ID;
|
||||
LazyValueInfo() : FunctionPass(&ID), PImpl(0) {}
|
||||
~LazyValueInfo() { assert(PImpl == 0 && "releaseMemory not called"); }
|
||||
|
||||
/// Tristate - This is used to return true/false/dunno results.
|
||||
enum Tristate {
|
||||
|
|
Loading…
Reference in New Issue