[llvm-commits] CVS: llvm/lib/CodeGen/PreOpts/PreSelection.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu May 1 15:29:01 PDT 2003
Changes in directory llvm/lib/CodeGen/PreOpts:
PreSelection.cpp updated: 1.9 -> 1.10
---
Log message:
Eliminate use of NonCopyable so that doxygen documentation doesn't link
the Annotation classes with the noncopyable classes for no reason
---
Diffs of the changes:
Index: llvm/lib/CodeGen/PreOpts/PreSelection.cpp
diff -u llvm/lib/CodeGen/PreOpts/PreSelection.cpp:1.9 llvm/lib/CodeGen/PreOpts/PreSelection.cpp:1.10
--- llvm/lib/CodeGen/PreOpts/PreSelection.cpp:1.9 Thu Apr 24 13:35:51 2003
+++ llvm/lib/CodeGen/PreOpts/PreSelection.cpp Thu May 1 15:28:45 2003
@@ -52,15 +52,16 @@
// A single GlobalVariable is created for each constant in the pool
// representing the memory for that constant.
//
- static AnnotationID CPFM_AID(
+ AnnotationID CPFM_AID(
AnnotationManager::getID("CodeGen::ConstantPoolForModule"));
- class ConstantPoolForModule: private Annotation, public NonCopyable {
+ class ConstantPoolForModule : private Annotation {
Module* myModule;
std::map<const Constant*, GlobalVariable*> gvars;
std::map<const Constant*, GlobalVariable*> origGVars;
ConstantPoolForModule(Module* M); // called only by annotation builder
- ConstantPoolForModule(); // do not implement
+ ConstantPoolForModule(); // DO NOT IMPLEMENT
+ void operator=(const ConstantPoolForModule&); // DO NOT IMPLEMENT
public:
static ConstantPoolForModule& get(Module* M) {
ConstantPoolForModule* cpool =
More information about the llvm-commits
mailing list