Revert r198208 and reapply:
[oota-llvm.git] / lib / CodeGen / RegAllocBase.h
index 597b1fcb58693b3ce7c01b8d7aa2d2fc14c951a7..c17a8d96ef6a303e1500eb7832c38ada8265a44c 100644 (file)
@@ -56,7 +56,8 @@ class Spiller;
 /// Register allocators must override the selectOrSplit() method to implement
 /// live range splitting. They must also override enqueue/dequeue to provide an
 /// assignment order.
-class LLVM_LIBRARY_VISIBILITY RegAllocBase {
+class RegAllocBase {
+  virtual void anchor();
 protected:
   const TargetRegisterInfo *TRI;
   MachineRegisterInfo *MRI;