1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

disable copying, enforce some invariants.

llvm-svn: 88870
This commit is contained in:
Chris Lattner 2009-11-15 20:03:53 +00:00
parent 34aefed024
commit 8680e0af8e

View File

@ -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 {