X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FCodeGen%2FRegAllocBase.h;h=c17a8d96ef6a303e1500eb7832c38ada8265a44c;hb=5be77762a3aa434ee877b0a03b98b5c3a7571918;hp=597b1fcb58693b3ce7c01b8d7aa2d2fc14c951a7;hpb=15f387c93ef8d5c23f110143996c8b9b4a089864;p=oota-llvm.git diff --git a/lib/CodeGen/RegAllocBase.h b/lib/CodeGen/RegAllocBase.h index 597b1fcb586..c17a8d96ef6 100644 --- a/lib/CodeGen/RegAllocBase.h +++ b/lib/CodeGen/RegAllocBase.h @@ -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;