Replace OwningPtr<T> with std::unique_ptr<T>.
[oota-llvm.git] / lib / CodeGen / RegAllocBase.h
index 9c0029837d02d814b2d2c59264cce61c7be7062e..68bd4b5b6316a119f3e268b0f8f585d7f2a4d833 100644 (file)
@@ -37,7 +37,6 @@
 #ifndef LLVM_CODEGEN_REGALLOCBASE
 #define LLVM_CODEGEN_REGALLOCBASE
 
-#include "llvm/ADT/OwningPtr.h"
 #include "llvm/CodeGen/LiveInterval.h"
 #include "llvm/CodeGen/RegisterClassInfo.h"
 
@@ -57,6 +56,7 @@ class Spiller;
 /// live range splitting. They must also override enqueue/dequeue to provide an
 /// assignment order.
 class RegAllocBase {
+  virtual void anchor();
 protected:
   const TargetRegisterInfo *TRI;
   MachineRegisterInfo *MRI;