When not destroying the source, the linker is not remapping the types. Added support
[oota-llvm.git] / include / llvm / Constant.h
index 8ae585d48b874ca71eae27c79c12c2cdae276226..3ce8d2c243eb673f46fa1fbe108ba842813cfab8 100644 (file)
@@ -41,6 +41,7 @@ namespace llvm {
 class Constant : public User {
   void operator=(const Constant &);     // Do not implement
   Constant(const Constant &);           // Do not implement
+  virtual void anchor();
   
 protected:
   Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps)
@@ -51,6 +52,7 @@ public:
   /// isNullValue - Return true if this is the value that would be returned by
   /// getNullValue.
   bool isNullValue() const;
+
   /// isAllOnesValue - Return true if this is the value that would be returned by
   /// getAllOnesValue.
   bool isAllOnesValue() const;